[Bug c++/61457] [C++11/14 only] Inaccurately refusing non-ODR usage of type with no linkage

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 3 12:26:44 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61457

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
In C++17 the static member is implicitly inline, so GCC no longer expects it to
have a separate definition.


More information about the Gcc-bugs mailing list