https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109941
Jiang An <de34 at live dot cn> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |de34 at live dot cn --- Comment #1 from Jiang An <de34 at live dot cn> --- FYI MSVC STL currently applies [[nodiscard]] to std::lock_guard and std::scoped_lock.