[Bug c++/14136] New: [3.4?/3.5 Regression] double error message for typename used as destructor declarator
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 13 05:47:00 GMT 2004
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
More information about the Gcc-bugs
mailing list