[Bug c++/99362] invalid unused result

2021-03-03 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99362 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

[Bug c++/99362] invalid unused result

2021-03-03 Thread gcc at cookiesoft dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99362 --- Comment #2 from gcc at cookiesoft dot de --- it's not my code, but a MCVE ;) I'm using [tomlplusplus](https://github.com/marzer/tomlplusplus/blob/master/toml.hpp) and there the constructor is marked as nodiscard. I may file an issue there.

[Bug c++/99362] invalid unused result

2021-03-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99362 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1