This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19441] [3.4 regression] Bad error message with invalid destructor declaration
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2005 13:42:01 -0000
- Subject: [Bug c++/19441] [3.4 regression] Bad error message with invalid destructor declaration
- References: <bug-19441-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from reichelt at gcc dot gnu dot org 2005-12-08 13:42 -------
This is now also fixed on the 3.4 branch (probably by the patch for PR19397).
We now get the following error message:
bug.cc:3: error: type/value mismatch at argument 1 in template parameter list
for `template<char <anonymous> > struct A'
bug.cc:3: error: expected a constant of type `char', got `char'
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19441