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


>>>>> "Tim" == Tim Hollebeek <tim@hollebeek.com> writes:

    >> I'd modify this to say "unless such symbols are defined by the
    >> vendor compiler on those systems" since we need such
    >> conmpatibility.

Right.

    Tim> It would be nice if this were enforced instead of being
    Tim> policy.  For example:

    Tim> 1) put those defines in CPP_VENDOR_PREDEFINES, so they can
    Tim> disappear automatically with -ansi.

    Tim> 2) Add code to check that CPP_PREDEFINES does not include
    Tim> illegal symbols.

Yes, I think this is the right solution.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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