This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14136] New: [3.4?/3.5 Regression] double error message for typename used as destructor declarator
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Feb 2004 05:47:15 -0000
- Subject: [Bug c++/14136] New: [3.4?/3.5 Regression] double error message for typename used as destructor declarator
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compile the following code you will recieve double the error message:
struct A1 {
typedef A1 A2;
~A2();
};
tt.cc:3: error: typedef-name `A1::A2' used as destructor declarator
tt.cc:3: error: typedef-name `A1::A2' used as destructor declarator
It worked in 3.5.0 20040204 but not in 3.5.0 20040212
found when running my testcase library.
--
Summary: [3.4?/3.5 Regression] double error message for typename
used as destructor declarator
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14136