This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12879] New: [3.4 Regression] double error message when using incomplate types in a struct
- 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: 2 Nov 2003 22:28:08 -0000
- Subject: [Bug c++/12879] New: [3.4 Regression] double error message when using incomplate types in a struct
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12879
Summary: [3.4 Regression] double error message when using
incomplate types in a struct
Product: gcc
Version: 3.4
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
The following code produces the two error messages in 3.4 while does not in 3.3.
struct Exception {
static void raise () throw (Exception){ throw Exception(); }
};