Re: GCC 3.3.2: Some bug in the preprocessor?

"Zack Weinberg" <[email protected]> Thu, 12 Feb 2004 12:34:04 -0800
Newsgroups org.kernel.vger.linux-gcc
Message-ID <[email protected]>
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