[Bug c++/47461] warn_unused_result attribute ignored for templates

2015-08-12 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47461 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/47461] warn_unused_result attribute ignored for templates

2015-08-12 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47461 --- Comment #4 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Wed Aug 12 14:47:58 2015 New Revision: 226816 URL: https://gcc.gnu.org/viewcvs?rev=226816root=gccview=rev Log: 2015-08-12 Paolo Carlini

[Bug c++/47461] warn_unused_result attribute ignored for templates

2015-08-12 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47461 --- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com --- Let's add a testcase and close the bug.

[Bug c++/47461] warn_unused_result attribute ignored for templates

2014-05-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47461 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org --- Works with 4.9.0 w.cc: In function ‘void f(C*)’: w.cc:6:33: warning: ignoring return value of ‘bool C::f(T*) [with T = int]’, declared with attribute warn_unused_result

[Bug c++/47461] warn_unused_result attribute ignored for templates

2011-01-25 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47461 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last