This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79078] Warnings from deprecated attribute are too noisy
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Jan 2017 00:38:01 +0000
- Subject: [Bug c++/79078] Warnings from deprecated attribute are too noisy
- Auto-submitted: auto-generated
- References: <bug-79078-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79078
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yet another heuristic would be to suppress warnings if the deprecated
attributes have the same string literal in the attribute-argument-clause, i.e.
treat the string as a grouping mechanism, so that entities in a group don't
produce warnings for uses of other deprecated names in the same group.