c++ using 2.95.2 and -ansi switch

Neil Booth neil@daikokuya.demon.co.uk
Thu May 24 12:28:00 GMT 2001


Kuraisa, Roy wrote:-

> In our c++ code, some folks use the "not", "and" keywords instead of "!" and
> "&&".  However, the only way to get these defined is to use the -ansi
> switch.

I don't think they're macros, they're actually the same operator with
a different spelling.  GCC 3.0 handles this properly.

Neil.



More information about the Gcc mailing list