Linker error msg

View: New views
1 Messages — Rating Filter:   Alert me  

Linker error msg

by David Turetsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using g++ 4.0 on a MacBook Pro via Apple's Xcode 3.0 development  
interface. Originally I had tried to compile and link this code  
directly but generated a huge list of compiler errors. Obviously I was  
not setting appropriate parameters despite experimentation

Now I get clean compilations but get Link error msgs saying "Duplicate  
symbol _p in main and another routine". I am not using this symbol  
anywhere in my code

Any recommendations would be appreciated. This is a fairly large sized  
bit of code. I'm successfully running some related code under g++ and  
welcome the performance improvement. The errant code runs fine under  
Visual C++ 5.0 and with Microsoft's Visual C++ 2008 Express Edition

I've searched Apple's knowledge base without any meaningful result

--
David


_______________________________________________
Bug-commoncpp mailing list
Bug-commoncpp@...
http://lists.gnu.org/mailman/listinfo/bug-commoncpp