https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61039
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |INVALID --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- I believe the warning is intended here (child1 and child2 have external linkage but their base classes are specializations of templates that depend on (the address of) objects with internal linkage (constexpr). That could cause problems as described in the GCC manual under the -Wsubobject-linkage option.