[Bug c++/38172] warn_unused_result does not work with structs not containing a copy constructor

2017-04-19 Thread mdennis at merfer dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38172 --- Comment #14 from Matthew Dennis --- I believe `nodiscard` is only valid in C++17

[Bug gcov-profile/65831] gcov does not output 0% coverage files

2015-08-04 Thread mdennis at merfer dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65831 Matthew Dennis mdennis at merfer dot net changed: What|Removed |Added CC||mdennis

[Bug c++/60460] New: warn_unused_result doesn't warn on unused result when std::pair return type

2014-03-07 Thread mdennis at merfer dot net
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mdennis at merfer dot net possibly doesn't warn for any templated return type. possibly related to 39808 and/or 47461. see attached for repro.

[Bug c++/60460] warn_unused_result doesn't warn on unused result when std::pair return type

2014-03-07 Thread mdennis at merfer dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60460 --- Comment #1 from Matthew Dennis mdennis at merfer dot net --- Created attachment 32308 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32308action=edit reproduction of warn_unused_result problem