This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21514] [DR 278] templates and anonymous enum
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 May 2005 17:08:02 -0000
- Subject: [Bug c++/21514] [DR 278] templates and anonymous enum
- References: <20050511141210.21514.papadopo@shfj.cea.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2005-05-18 17:08 -------
Subject: Re: [DR 278] templates and anonymous enum
"pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org> writes:
| > .......... The error message shoudl really point at what's wrong in the
| > source code, not at what's wrong in the C++ standard.
|
| But unfortunately if the compiler is conforming, and the latter is wrong,
| the former is "correct" as-is and the error message too ;)
I think his point is that the diagnostic message is not helpful. And
I agree with him.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21514