This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/50720] "deprecated" doesn't work as expected for functions returning pointer
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 07 Jan 2012 22:23:37 +0000
- Subject: [Bug c/50720] "deprecated" doesn't work as expected for functions returning pointer
- Auto-submitted: auto-generated
- References: <bug-50720-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50720
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.8.0
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-07 22:23:37 UTC ---
struct foo * __attribute__ ((deprecated)) old_fn1a();
The attribute there applies to the pointer ...