[Bug c/66425] (void) cast doesn't suppress __attribute__((warn_unused_result))
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 28 16:29:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
--- Comment #24 from Jason Merrill <jason at gcc dot gnu.org> ---
I agree that (void) should suppress the warning. Jakub, do you remember why
you made a different choice?
More information about the Gcc-bugs
mailing list