public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14136] New: [3.4?/3.5 Regression] double error message for typename used as destructor declarator
@ 2004-02-13  5:47 pinskia at gcc dot gnu dot org
  2004-02-13  5:47 ` [Bug c++/14136] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-13  5:47 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-01-03 17:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-13  5:47 [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
2004-02-13  5:47 ` [Bug c++/14136] " pinskia at gcc dot gnu dot org
2004-02-20 12:55 ` [Bug c++/14136] [3.5 " reichelt at gcc dot gnu dot org
2004-02-20 13:27 ` reichelt at gcc dot gnu dot org
2004-02-20 13:43 ` giovannibajo at libero dot it
2004-11-27  0:00 ` [Bug c++/14136] [4.0 " pinskia at gcc dot gnu dot org
2004-11-27  2:31 ` reichelt at gcc dot gnu dot org
2004-11-30  0:42 ` reichelt at gcc dot gnu dot org
2004-12-02 14:05 ` reichelt at gcc dot gnu dot org
2004-12-15 17:46 ` reichelt at gcc dot gnu dot org
2005-01-03 17:03 ` cvs-commit at gcc dot gnu dot org
2005-01-03 17:04 ` reichelt at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).