[cfe-commits] r80988 - in /cfe/trunk: lib/Parse/ParseDeclCXX.cpp test/SemaCXX/libstdcxx_is_pod_hack.cpp

Douglas Gregor dgregor at apple.com
Fri Sep 4 11:08:08 PDT 2009


On Sep 4, 2009, at 11:02 AM, Fariborz Jahanian wrote:

>
> On Sep 4, 2009, at 10:39 AM, Mike Stump wrote:
>
>> On Sep 4, 2009, at 9:00 AM, Fariborz Jahanian wrote:
>>>> Does this come from real, important code?
>>>
>>> No. I just made it up :).
>>
>> __ is reserved to the system, you can't make that up!
>
>
> I brought it up because gcc behaves as one expects (no error).

GCC 4.2 behaves that way. GCC >= 4.3 will fail because  __is_pod is a  
keyword in that release (they changed libstdc++ accordingly).

	- Doug



More information about the cfe-commits mailing list