Policy proposal - CPP_PREDEFINES
Tim Hollebeek
tim@hollebeek.com
Sat Apr 28 20:04:00 GMT 2001
On Thu, Jun 04, 2037 at 05:03:35AM -0400, Richard Kenner wrote:
> 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.
>
> I'd modify this to say "unless such symbols are defined by the vendor
> compiler on those systems" since we need such conmpatibility.
It would be nice if this were enforced instead of being policy. For example:
1) put those defines in CPP_VENDOR_PREDEFINES, so they can disappear
automatically with -ansi.
2) Add code to check that CPP_PREDEFINES does not include illegal
symbols.
More information about the Gcc
mailing list