------- Comment #1 from pinskia at gcc dot gnu dot org 2009-03-20 20:44 ------- You are violating C++'s One definition rule (ODR). This code is undefined because the definition of A::A() (and others) are different between the two files.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39513