[Bug c++/12879] New: [3.4 Regression] double error message when using incomplate types in a struct

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Nov 2 22:28:00 GMT 2003


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(); }
};



More information about the Gcc-bugs mailing list