[cfe-commits] r49645 - /cfe/trunk/Driver/clang.cpp

Sam Bishop sam at bishop.dhs.org
Mon Apr 14 15:24:11 PDT 2008


Mike Stump wrote:
> On Apr 14, 2008, at 12:59 PM, Neil Booth wrote:
>> Sam Bishop wrote:
>>> Handle -D and -U options in order, so that they can cancel each
>>> other out when intermixed.
>>
>> It's worth noting that this is different to what the SUS requires of
>> the "c99" binary.  I think only GCC does it this way.
>
> In all my years, the only consumer of c99 has been a testsuite used to
> check conformance with a standard.  More portable software uses gcc.
> Oh, how ironic.  :-)

The behavior could change depending on the language standard chosen, but
that seems confusing.  And I don't think we want to break
GCC-compatibility wholesale here.  I'll leave it as-is, unless there are
any strong objections.

Thanks for the review!

Sam Bishop




More information about the cfe-commits mailing list