http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50455
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution| |INVALID
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-09-19
12:38:01 UTC ---
And as the ctor is inline, it must have comdat linkage and therefore this user
error is not detectable by the linker (as it is just fine to have multiple
definitions in different translation units, just one of them will be selected,
and as they can be compiled with different compiler options or versions, there
is no guarantee they have identical assembly either).