https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88738
--- Comment #8 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #7) > Yes, I would guess that clang's "dumb" warning is fine for 99% of cases, and > the handful of exceptions could use #pragma to disable the warning. Or an attribute that says the opposite of nodiscard? (maydiscard? unused?)