[Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result))
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 16 17:12:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425
--- Comment #35 from Jason Merrill <jason at gcc dot gnu.org> ---
Is there a reason you can't use [[nodiscard]]?
More information about the Gcc-bugs
mailing list