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: Policy proposal - CPP_PREDEFINES


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.

If you use -ansi, or any -std= option except -std=gnu, then you won't get
any name space contamination.

The IA-64 port is still changing often enough that one more change wouldn't
be much of an inconvenience.  It would be a bit of work to fix all of the old
ports correctly though.

Jim


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