[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:13:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425

--- Comment #36 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jason Merrill from comment #35)
> Is there a reason you can't use [[nodiscard]]?

...ah, because this is a bug report against the C compiler.


More information about the Gcc-bugs mailing list