------- Comment #14 from geoffk at gcc dot gnu dot org  2007-10-30 03:44 -------
I don't fully understand the linker error message.  It seems to me that if
there's a reference to the typeinfo name then that just means the linker
shouldn't be discarding it.

The original problem was encountered on Darwin and so that's where the testcase
would be expected to fail.

> Should the typeinfo for an anonymous namespace class be local if it inherits
> from a class that is outside the anonymous namespace?

Yes.

> If that is the case, what should typeid(reference to base of anonymous class
> instance) in another module return?

The same thing it does now, which I believe is the typeinfo of the base class.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33871

Reply via email to