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
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... /gcc.gnu. org/bugzilla/ show_bug. cgi?id= 66425#c2
https:/
gcc should catch up.
Cheers,
Filipe