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

Filipe Brandenburger <filbranden at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |filbranden at google dot com

--- Comment #31 from Filipe Brandenburger <filbranden at google dot com> ---
See bug 66425 for the cast to (void) to ignore warn_unused_result for a single
case:

It looks like clang is already doing the right thing here...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425#c2

gcc should catch up.

Cheers,
Filipe

Reply via email to