public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99729] New: Tweak -Wdeprecated-declarations with namespaces
@ 2021-03-23 15:01 mpolacek at gcc dot gnu.org
2021-03-23 15:01 ` [Bug c++/99729] " mpolacek at gcc dot gnu.org
2021-03-23 18:50 ` egallager at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-03-23 15:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99729
Bug ID: 99729
Summary: Tweak -Wdeprecated-declarations with namespaces
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mpolacek at gcc dot gnu.org
Target Milestone: ---
namespace [[deprecated]] N { struct S { }; }
using namespace N;
S s;
we should warn about the using-directive, but not also the declaration
of 's'.
(From https://gcc.gnu.org/pipermail/gcc-patches/2021-March/567148.html.)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/99729] Tweak -Wdeprecated-declarations with namespaces
2021-03-23 15:01 [Bug c++/99729] New: Tweak -Wdeprecated-declarations with namespaces mpolacek at gcc dot gnu.org
@ 2021-03-23 15:01 ` mpolacek at gcc dot gnu.org
2021-03-23 18:50 ` egallager at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-03-23 15:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99729
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2021-03-23
Ever confirmed|0 |1
Keywords| |diagnostic
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/99729] Tweak -Wdeprecated-declarations with namespaces
2021-03-23 15:01 [Bug c++/99729] New: Tweak -Wdeprecated-declarations with namespaces mpolacek at gcc dot gnu.org
2021-03-23 15:01 ` [Bug c++/99729] " mpolacek at gcc dot gnu.org
@ 2021-03-23 18:50 ` egallager at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: egallager at gcc dot gnu.org @ 2021-03-23 18:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99729
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=79078,
| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=43797
--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
See also bug 79078 and bug 43797 for other bugs about the "deprecated"
attribute infecting entities other that the one originally declared to be
deprecated
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-23 18:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 15:01 [Bug c++/99729] New: Tweak -Wdeprecated-declarations with namespaces mpolacek at gcc dot gnu.org
2021-03-23 15:01 ` [Bug c++/99729] " mpolacek at gcc dot gnu.org
2021-03-23 18:50 ` egallager 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).