On Sep 4, 2009, at 8:38 AM, Douglas Gregor wrote:
>
> On Sep 4, 2009, at 8:19 AM, Fariborz Jahanian wrote:
>
>> This could be related:
>>
>> union __is_pod {
>> int i;
>> };
>>
>> $CLANG s.cpp
>> s.cpp:1:1: error: declaration of anonymous union must be a definition
>> union __is_pod {
>> ^
>> s.cpp:1:1: error: declaration does not declare anything
>> union __is_pod {
>>
>> Renaming __is_pod fixes the problem.
>
> Does this come from real, important code?
No. I just made it up :).
- Fariborz
> 4.2 without any extra compiler flags.
>
> - Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits