keywords for operators (eg: and for &&) etc

Smithers, Kit kit.smithers@eds.com
Tue Aug 10 00:25:00 GMT 1999


I'm getting a little confused about the ability to use keywords such as
"and" for "&&" and so on.

g++ lets me use it in c++ code if I turn on -ansi which is listed as a C
option. Yet ciso646 defines these keywords using macros only if __cplusplus
is not set.

Ideally I would like to enable the keywords in C++ but I may wish to use
features which cause problems with -ansi (long long has recently been
mentioned as problematic). Can anyone tell me what my mistake is ?

thanks

-- 
Kit Smithers


More information about the Gcc mailing list