This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ case value question
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: "Steven L. Zook" <SLZook at Qualstar dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 18 Aug 2004 09:36:50 +0100
- Subject: Re: C++ case value question
- Organization: CodeSourcery LLC
- References: <9E27B4AB55478346B9F7848926E49B7F4F6F16@exchange1.qualstar.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
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk