This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Move more predefined macros
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 16 May 2002 07:22:51 +0100
- Subject: Re: Move more predefined macros
- References: <20020516060540.GI572@codesourcery.com>
Zack Weinberg wrote:-
> Future potential changes along these lines are: move the
> builtin_define_* routines from c-common to cpplib (they are
> semi-duplicates of internal cpplib routines); move the definitions of
> __cplusplus etc to c-common. I'd appreciate opinions on both.
Sorry, forgot to comment on this.
I'm unsure either way whether they should be in cpplib or not to be honest.
As for __cplusplus, I think that should stay in the library, as
it should be defined for any client preprocessing C++, no? In other
words, I tend to think of it as as constant as __STDC__ or something.
Neil.