XCode 1.5 : "mutiple definitions of symbol <X>" linkage errors
XCode 1.5 : "mutiple definitions of symbol <X>" linkage errors
- Subject: XCode 1.5 : "mutiple definitions of symbol <X>" linkage errors
- From: "Swar Systems" <email@hidden>
- Date: Sat, 18 Jun 2005 16:01:24 +0200
- Importance: Normal
Hi,
I am porting some
C++ code to OS X, and I am facing a sudden problem. Though the code compiled
well, linked successfully with ZeroLink option on (by default), and ran quite
well in debug mode, it suddenly stopped linking after I made a few changes.
Unchecking the ZeroLink option now shows me about 5000 "multiple definitions of
symbol" errors, even if I remove these changes I had added.
These are linkage
errors. All sources build perfectly. I have also used "#ifndef" statements on
each header file to avoid including it more than once in each
.cpp.
Can anyone help me
by giving more details on when such an error is generated, and how I can avoid
it?
Thanks a
lot!
Mariano
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden