ld: duplicate symbol typeinfo

Jérôme Seydoux madbird2 at noos.fr
Wed Nov 21 00:56:02 PST 2007


Hello,

After migrating to Mac OS X 10.5 and XCode 3, I have the following link
error in my project:

ld: duplicate symbol typeinfo for TArray<long>in CMailBrowser.o and CPMApp.o

CMailBrowser.o and CPMApp.o are two c++ classes, which have some
PowerPlant classes in common in their superclasses. Some of these
superclasses have a member variables of class TArray, which is a
PowerPlant template class.

I don't understand what this link error means, why it was not occurring
with previous versions of XCode, and what can I do to fix it?

Thanks for any help

Jérôme



More information about the MacOSX-dev mailing list