GCC 3.3.2: Some bug in the preprocessor?

Zack Weinberg zack@codesourcery.com
Thu Feb 12 20:34:00 GMT 2004


You cannot use casts in #if.  Your conditionals are read as

#if (0)0 > -1

which produces a syntax error;

#if 0 > (0)-1

which evaluates as 0 > 0 - 1 which is true.

zw



More information about the Gcc mailing list