https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425
Steven Bosscher <steven at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steven at gcc dot gnu.org --- Comment #26 from Steven Bosscher <steven at gcc dot gnu.org> --- Maybe make something like "-Wno-unused-result=[pedantic|nodiscard]", make strict the current semantics of the flag and nodiscard the C++17 semantics (and make that the default)?