This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50308] __attribute__((deprecated)) incorrectly generates warning in ADL lookup
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Feb 2012 10:59:40 +0000
- Subject: [Bug c++/50308] __attribute__((deprecated)) incorrectly generates warning in ADL lookup
- Auto-submitted: auto-generated
- References: <bug-50308-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50308
--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> 2012-02-02 10:59:40 UTC ---
Comment on attachment 26551
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26551
test-case
> // The original reported fault...
> A (x); // { dg-bogus ".A. is deprecated .declared at .*pr50308-1.C:4." "" }
duh, wrong version attached should be:
A (x); // { dg-bogus ".void A.int.. is deprecated .declared
at.*pr50308-1.C:4." "" }