View Single Post
  #3   Spotlight this post!  
Unread 01-04-2004, 14:31
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
Re: multiple definition error in MCC/Linker (possible bug?)

Quote:
Originally Posted by Alan Anderson
That symptom points to one of two things. Either you have more than one #include for the same .h file (and you're not "protecting" it with #ifdef)
I havent added any #include statements, so I dont think it would be that

Quote:
Originally Posted by Alan Anderson
or you have added the same .c file to the project twice. The first problem would show up in the code. The second problem would not. Try looking at the project window and make sure you only have each file in there once. If something is duplicated, remove the extra one.
I am not using the MLAB IDE (vim + make), so I do not think that would be an issue. I get the same problem when I do load it in to the IDE thou.

I have also tryed to build it on 4 different macines, so it is not my computer that is the problem either.
Thanks for the quick reply thou.
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one