This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/43778] C/C++ __attribute__((deprecated)) does not appear to wrap declarations as implied from the doc.
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Apr 2010 18:32:06 -0000
- Subject: [Bug c/43778] C/C++ __attribute__((deprecated)) does not appear to wrap declarations as implied from the doc.
- References: <bug-43778-19002@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2010-04-18 18:32 -------
"warnings should be issued when a
deprecated entity is used and not when that deprecation is declared."
it is not "that" deprecation that is declared in your examples but "a"
deprecation that is declared.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43778