'ZeroLink: warning duplicate symbol' Messages.
'ZeroLink: warning duplicate symbol' Messages.
- Subject: 'ZeroLink: warning duplicate symbol' Messages.
- From: email@hidden
- Date: Tue, 8 Jun 2004 15:01:26 -0400
I entered C++ Code into a 'C++ Tool' Project. The Code included the
Class definition, Class implementation, and main() Function.
When the 'Build and Run' Button was clicked on the expected Results
were presented.
When in 'Terminal' and 'g++ main.cpp -o main' and then './main'
entered - again the expected Results are presented.
A new 'C++ Tool' Project was created. The Code of above was entered
into two separate Files - 'main.cpp' ['int main(...) Function only -
with '"include "Fraction.cpp"' added above the 'int main(...)'
Function] and 'Fraction.cpp' [Class definition and Class
implementation]
When the 'Build and Run' Button in 'Xcode' is click - the Results are
presented but, preceded by a slew of 'ZeroLink: warning duplicate
symbol' Messages.
When in 'Terminal', and 'g++ main.cpp -o main' and then './main' are
entered - again the expected Results are presented - with not
'ZeroLink' Messages.
Questions:
Why does 'Xcode' display all the 'ZeroLink' Messages - when the Code
is placed into separate Files?
What can / must I do to avoid the 'ZeroLink' Messages?
For System, OS, and XCode Version Information, as well as, the actual
Code, and displayed Results - please go to
'<http://xcode.250free.com/XcodeQ1.html#top>'.
Thanks.
--
SJWL
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.