This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ld: duplicate symbol typeinfo


Hello,

After migrating to Mac OS X 10.5, and its gcc 4.0.1, I have the
following link error in my XCode 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 of
their superclasses in common (these classes are from the GUI framework
PowerPlant). Some of these classes have a member variables of class
TArray, which is a template class.

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

Thanks for any help

Jérôme


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]