[Bug c/89985] [9 Regression] Stray notes from OPT_Waddress_of_packed_member with -w

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Apr 6 12:49:00 GMT 2019


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

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #3)
> since the issue of calls to inform being done without checking the return
> value of warning[_at] first seems to keep coming up, I almost wonder if it's
> worth adding __attribute__((unused_result)) to warning[_at]...

er __attribute__((warn_unused_result)) I mean


More information about the Gcc-bugs mailing list