public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28432]  New: [4.0/4.1/4.2 regression] duplicate "no member function declared" message
@ 2006-07-19 10:41 reichelt at gcc dot gnu dot org
  2006-07-19 20:47 ` [Bug c++/28432] " sje at cup dot hp dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-19 10:41 UTC (permalink / raw)
  To: gcc-bugs

Since today, I get some duplicate diagnostics:

======================
struct A {};
void A::foo();
======================

bug.cc:2: error: no 'void A::foo()' member function declared in class 'A'
bug.cc:2: error: no 'void A::foo()' member function declared in class 'A'
bug.cc:2: error: declaration of 'void A::foo()' outside of class is not
definition

Apparently we call check_classfn twice.

Steve, the duplicate message appeared with your patch for PR 28304.
But you probably only uncovered a latent problem. Would you mind
taking a look, anyway?


-- 
           Summary: [4.0/4.1/4.2 regression] duplicate "no member function
                    declared" message
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: diagnostic, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28432


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

end of thread, other threads:[~2006-08-03 17:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-19 10:41 [Bug c++/28432] New: [4.0/4.1/4.2 regression] duplicate "no member function declared" message reichelt at gcc dot gnu dot org
2006-07-19 20:47 ` [Bug c++/28432] " sje at cup dot hp dot com
2006-07-26  0:33 ` pinskia at gcc dot gnu dot org
2006-07-31 23:31 ` mmitchel at gcc dot gnu dot org
2006-08-01 16:45 ` sje at gcc dot gnu dot org
2006-08-03 17:10 ` sje at gcc dot gnu dot org
2006-08-03 17:16 ` sje at gcc dot gnu dot org
2006-08-03 17:17 ` sje at cup dot hp dot com

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).