C++ case value question

Nathan Sidwell nathan@codesourcery.com
Wed Aug 18 09:46:00 GMT 2004


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

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