12 Feb
2004
12 Feb
'04
9:32 p.m.
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
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