This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50308] __attribute__((deprecated)) incorrectly generates warning in ADL lookup


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." "" }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]