https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425
--- Comment #58 from Ed Catmur <ed at catmur dot uk> --- (In reply to Roman Krotov from comment #57) > But I don't see any reasons not to implement the switch right now... Making [[gnu::warn_unused_result]] mean the same as [[nodiscard]] would be a reduction in expressivity. > what about the projects > what don't agree with the distinction of these 2 attributes? Or just want to > be more compatible with clang? They can use [[nodiscard]]. > Or they just may not agree with the choice of a library, that decided to put > wur instead of nodiscard for a specific function. Then they can write their own wrappers using [[nodiscard]].