This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
keywords for operators (eg: and for &&) etc
- To: gcc@gcc.gnu.org
- Subject: keywords for operators (eg: and for &&) etc
- From: "Smithers, Kit" <kit.smithers@eds.com>
- Date: Tue, 10 Aug 1999 08:20:49 +0100
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