This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ case value question


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]