This is the mail archive of the gcc@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]

Re: criteria.html open issues


> I've since realised that -traditional complicates this; if <limits.h> 
> relies on values such as __INT_MAX__ always being predefined by cc1, then 
> when compiling with -traditional it would be necessary to get the 
> predefined macros from cc1, remove __STDC ones, run tradcpp, then run cc1 
> again.  Thus, I'd prefer tradcpp to be strictly a preprocessor for non-C 
> code, not something used for compiling C.

You can use the specs to define __INT_MAX__ to a particular value when
compiling with -traditional.


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