This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Move more predefined macros


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]