On Jun 16, 2011, at 9:04 PM, John McCall wrote:
>
> On Jun 16, 2011, at 8:41 PM, Douglas Gregor wrote:
>
>> Author: dgregor
>> Date: Thu Jun 16 22:41:35 2011
>> New Revision: 133232
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=133232&view=rev
>> Log:
>> Downgrade the error complaining about presence of a storage class
>> specifier on an explicit specialization to a warning, since neither
>> EDG nor GCC diagnose this code as ill-formed.
>
> This seems reasonable, but you should at least still error about an
> *inconsistent* storage class specifier, like adding static to a
> specialization (rather than the reverse) or making one extern and
> the other static or something.
Good point. I've added this checking in r133236.
- Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits