[Python-Dev] Small test

Gerrit gerrit at nl.linux.org
Thu Feb 12 15:13:18 EST 2004


Gustavo Niemeyer wrote:
> can you please test the following piece of code with your compilers
> and check if they're issuing any warnings? Thanks!
>=20
>   #include <stdio.h>
>   int main(int argc, char *argv[])
>   {
>       char c =3D 1;
>       if (!(c & ~255)) printf("Thanks!\n");
>       return 0;
>   }

No warning at Linux 2.4.22 gcc 3.3.2 glibc 2.3.2.

Gerrit.

--=20
Weather in Twenthe, Netherlands 12/02 19:25 UTC:
	5.0=C2=B0C   wind 2.2 m/s SW (57 m above NAP)
--=20
Asperger's Syndrome - a personal approach:
	http://people.nl.linux.org/~gerrit/english/



More information about the Python-Dev mailing list