[Python-Dev] Small test (original) (raw)
Brett C. bac at OCF.Berkeley.EDU
Thu Feb 12 15:32:06 EST 2004
- Previous message: [Python-Dev] Small test
- Next message: [Python-Dev] Sprint on Stackless Python!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gustavo Niemeyer wrote:
Hello folks,
can you please test the following piece of code with your compilers and check if they're issuing any warnings? Thanks! #include <stdio.h> int main(int argc, char *argv[]) { char c = 1; if (!(c & ~255)) printf("Thanks!\n"); return 0; }
On OS X 10.3.2 (Panther) which uses "gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)" I compile with no warnings and it spits out "Thanks!".
-Brett
- Previous message: [Python-Dev] Small test
- Next message: [Python-Dev] Sprint on Stackless Python!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]