On Feb 11, 2009, at 10:30 AM, steve naroff wrote:
>> Shouldn't this reject aggregates with an error?
>>
>
> I'd prefer we make this an error for all cases (rather than a mix of  
> errors/warnings).
>
> GCC's "implicit" diagnostics (based on the underlying function call/ 
> ABI) seem like a poor model for clang to follow (in retrospect).

This has to be an error for aggregates and "should" be an error for  
integers.  I'm fine keeping it a warning for integers or just emitting  
an error for either, your choice!

> Here is a small test case below (with clang/gcc output).

nice!

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to