Policy proposal - CPP_PREDEFINES
Zack Weinberg
zackw@Stanford.EDU
Wed May 2 23:18:00 GMT 2001
On Mon, Apr 30, 2001 at 07:36:16PM -0700, Jim Wilson wrote:
> In article <20010428133005.D11683@stanford.edu> you write:
> >I'd like this to become official GCC policy: Beginning now, no new
> >port may include any symbol in CPP_PREDEFINES which is outside the C89
> >reserved name space.
>
> The IA-64 ports define CPP_PREDEFINES the way that tm.texi says we are
> supposed to. If we are changing policy, the first thing we need to do
> is change the documentation, and make sure everyone knows about the change.
That's reasonable. If there is agreement that this change is
desirable, I'll write up a patch for the manual.
> If you use -ansi, or any -std= option except -std=gnu, then you won't get
> any name space contamination.
True. However, I feel we ought to be moving away from default name
space contamination.
zw
More information about the Gcc
mailing list