This is the mail archive of the gcc-bugs@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]

[Bug c++/21514] [DR 278] templates and anonymous enum


------- 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


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