public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/65974] Bogus deprecated-declarations warnings for inline definitions of deprecated virtual methods [not found] <bug-65974-4@http.gcc.gnu.org/bugzilla/> @ 2015-07-06 7:35 ` neil at fnxweb dot com 2015-08-15 8:00 ` [Bug c++/65974] [5/6 Regression] " jason at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 4+ messages in thread From: neil at fnxweb dot com @ 2015-07-06 7:35 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65974 Neil Bird <neil at fnxweb dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |neil at fnxweb dot com --- Comment #1 from Neil Bird <neil at fnxweb dot com> --- I am also seeing this, although I don't have to put anything inline. When compiling C++, I get a warning flagged at the end of each class's .cpp for every member declared deprecated in the header, even if it's not used (the bodies for those routines being in the .cpp). # Scientific Linux 6.4, 32-bit $ gcc51 -v Using built-in specs. COLLECT_GCC=gcc51 COLLECT_LTO_WRAPPER=/opt/libexec/gcc/i686-pc-linux-gnu/5.1.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: ../gcc-5.1.0/configure --prefix=/opt --program-suffix=51 --enable-languages=c,c++ --with-isl=/opt Thread model: posix gcc version 5.1.0 (GCC) ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/65974] [5/6 Regression] Bogus deprecated-declarations warnings for inline definitions of deprecated virtual methods [not found] <bug-65974-4@http.gcc.gnu.org/bugzilla/> 2015-07-06 7:35 ` [Bug c++/65974] Bogus deprecated-declarations warnings for inline definitions of deprecated virtual methods neil at fnxweb dot com @ 2015-08-15 8:00 ` jason at gcc dot gnu.org 2015-08-15 8:00 ` jason at gcc dot gnu.org 2015-08-17 14:27 ` jason at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: jason at gcc dot gnu.org @ 2015-08-15 8:00 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65974 --- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Sat Aug 15 07:59:26 2015 New Revision: 226908 URL: https://gcc.gnu.org/viewcvs?rev=226908&root=gcc&view=rev Log: PR c++/65974 * decl2.c (mark_vtable_entries): Suppress -Wdeprecated. Added: trunk/gcc/testsuite/g++.dg/warn/deprecated-9.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl2.c ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/65974] [5/6 Regression] Bogus deprecated-declarations warnings for inline definitions of deprecated virtual methods [not found] <bug-65974-4@http.gcc.gnu.org/bugzilla/> 2015-07-06 7:35 ` [Bug c++/65974] Bogus deprecated-declarations warnings for inline definitions of deprecated virtual methods neil at fnxweb dot com 2015-08-15 8:00 ` [Bug c++/65974] [5/6 Regression] " jason at gcc dot gnu.org @ 2015-08-15 8:00 ` jason at gcc dot gnu.org 2015-08-17 14:27 ` jason at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: jason at gcc dot gnu.org @ 2015-08-15 8:00 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65974 --- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Sat Aug 15 07:59:39 2015 New Revision: 226909 URL: https://gcc.gnu.org/viewcvs?rev=226909&root=gcc&view=rev Log: PR c++/65974 * decl2.c (mark_vtable_entries): Suppress -Wdeprecated. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/warn/deprecated-9.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/decl2.c ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/65974] [5/6 Regression] Bogus deprecated-declarations warnings for inline definitions of deprecated virtual methods [not found] <bug-65974-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2015-08-15 8:00 ` jason at gcc dot gnu.org @ 2015-08-17 14:27 ` jason at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: jason at gcc dot gnu.org @ 2015-08-17 14:27 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65974 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jason at gcc dot gnu.org Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org --- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Fixed. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-08-17 14:27 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-65974-4@http.gcc.gnu.org/bugzilla/> 2015-07-06 7:35 ` [Bug c++/65974] Bogus deprecated-declarations warnings for inline definitions of deprecated virtual methods neil at fnxweb dot com 2015-08-15 8:00 ` [Bug c++/65974] [5/6 Regression] " jason at gcc dot gnu.org 2015-08-15 8:00 ` jason at gcc dot gnu.org 2015-08-17 14:27 ` jason at gcc dot gnu.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).