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

Chris Lattner clattner at apple.com
Mon Apr 14 16:41:16 PDT 2008


On Apr 14, 2008, at 3:24 PM, Sam Bishop wrote:

> 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.

Please leave it the way it is, the 'clang' driver is meant to be GCC  
compatible.  Making a cut down driver for c99 compliance testing would  
be easy to do and not very interesting.

-Chris



More information about the cfe-commits mailing list