This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14566] 'template' disambiguator on base class gives a bad error message
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2004 02:02:13 -0000
- Subject: [Bug c++/14566] 'template' disambiguator on base class gives a bad error message
- References: <20040313064317.14566.ron_hylton@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-03-15 02:02 -------
Yes, 'template' is disallowed outside of template definition, and the base
class list is never part of the class definition. The rationale is that '<'
can't be an operator< in that context.
Anyway, I think Jason would agree to allow it if not pedantic, and a better
error message would surely be desirable.
I'm keeping this as an enhancement, and I will look into this.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |giovannibajo at libero dot
|dot org |it
Severity|normal |enhancement
Status|NEW |ASSIGNED
Keywords|rejects-valid |diagnostic
Known to work|3.3.1 |
Summary|[3.4/3.5 Regression] |'template' disambiguator on
|'template' disambiguator |base class gives a bad error
|rejected on base class |message
Target Milestone|3.4.1 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14566