public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pluto at agmk dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions Date: Thu, 21 Aug 2008 19:06:00 -0000 [thread overview] Message-ID: <20080821190439.21245.qmail@sourceware.org> (raw) In-Reply-To: <bug-17920-5280@http.gcc.gnu.org/bugzilla/> ------- Comment #8 from pluto at agmk dot net 2008-08-21 19:04 ------- why just not to use -Woverloaded-virtual? $ g++ reimpl.cpp -Wall -c -Woverloaded-virtual reimpl.cpp:1: warning: 'virtual void A::foo() const' was hidden reimpl.cpp:2: warning: by 'void B::foo()' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17920
next prev parent reply other threads:[~2008-08-21 19:06 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-17920-5280@http.gcc.gnu.org/bugzilla/> 2008-08-21 18:45 ` thomas dot mcguire at gmx dot net 2008-08-21 19:06 ` pluto at agmk dot net [this message] 2008-08-21 19:16 ` thomas dot mcguire at gmx dot net 2008-11-30 15:47 ` Woebbeking at web dot de 2008-12-27 22:05 ` pinskia at gcc dot gnu dot org 2010-01-05 16:27 ` shcherbakov at daad-alumni dot de 2010-01-06 11:58 ` jwakely dot gcc at gmail dot com [not found] <bug-17920-4@http.gcc.gnu.org/bugzilla/> 2011-06-21 16:02 ` redi at gcc dot gnu.org 2004-10-10 8:56 [Bug c++/17920] New: " mutz at kde dot org 2004-10-10 14:20 ` [Bug c++/17920] " pinskia at gcc dot gnu dot org 2004-10-10 16:06 ` pinskia at gcc dot gnu dot org 2004-10-10 16:14 ` gdr at cs dot tamu dot edu 2004-10-10 22:41 ` giovannibajo at libero dot it 2004-10-10 22:46 ` gdr at cs dot tamu dot edu 2004-10-11 9:28 ` giovannibajo at libero dot it 2004-10-11 12:54 ` bangerth at dealii dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080821190439.21245.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).