C++ case value question

Nathan Sidwell nathan@codesourcery.com
Fri Aug 20 09:13:00 GMT 2004


Kai Henningsen wrote:
> nathan@codesourcery.com (Nathan Sidwell)  wrote on 18.08.04 in <41231522.5060903@codesourcery.com>:
> 
> 
>>Steven L. Zook wrote:
>>
>>>I'm new to this list but not to gcc. I'm not sure that this is the proper
>>>forum, but if not, perhaps someone will steer me to the proper list. I
>>>didn't want to submit this to bugzilla yet as I'm not sure whether my
>>>constructs in this case are valid C++.
>>>
>>>I've tried both 3.3.1 and 3.4.1 for m68k-elf and get different results.
>>>Here is a test fragment:
>>
>>3.4 is correct. 3.3 erroneously accepted TYPE . ENUM
> 
> 
> I don't see any TYPE . ENUM in there ...
ug stupid naming convention.

3.4 is correct. 3.3 erroneously accepted
	object.enum
	object.static_var

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc mailing list