public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17729] New: Duplicate __attribute__((deprecated)) warning
@ 2004-09-29 16:34 jsm28 at gcc dot gnu dot org
  2004-09-29 17:46 ` [Bug c++/17729] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2004-09-29 16:34 UTC (permalink / raw)
  To: gcc-bugs

void func(void) __attribute__((deprecated));

void f(void) {
  func();
}

gives a warning twice when compiled as C++:

t.C: In function `void f()':
t.C:4: warning: 'func' is deprecated (declared at t.C:1)
t.C:4: warning: 'func' is deprecated (declared at t.C:1)

-- 
           Summary: Duplicate __attribute__((deprecated)) warning
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-08-22  1:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-29 16:34 [Bug c++/17729] New: Duplicate __attribute__((deprecated)) warning jsm28 at gcc dot gnu dot org
2004-09-29 17:46 ` [Bug c++/17729] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
2004-10-28 16:54 ` pinskia at gcc dot gnu dot org
2004-11-01  0:46 ` mmitchel at gcc dot gnu dot org
2004-11-25  4:48 ` pinskia at gcc dot gnu dot org
2004-12-21 21:06 ` mmitchel at gcc dot gnu dot org
2005-03-05 19:49 ` [Bug c++/17729] [3.4/4.0/4.1 " pinskia at gcc dot gnu dot org
2005-08-22  1:47 ` mmitchel 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).