View Single Post
  #1   Spotlight this post!  
Unread 14-02-2008, 12:55
Nuggets08 Nuggets08 is offline
Registered User
FRC #1737 (Project X Robotics)
Team Role: Programmer
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Excelsior Springs, MO
Posts: 11
Nuggets08 is on a distinguished road
Interesting Problems with the Compiler and Linker

Alright, I was programming and found the need to use a function pointer, I programmed it alright, my syntax was right, but the linker said it was being declared multipally. Well, I found a different way to program it, and just went on. I had this same problem trying to declare variables in header files too(I declared the function pointer in the header too).
Can anyone shed any light as to why it's complaining about this? I am really bad at figuring out linker problems, I have a mental block or something with them.
__________________
-Nuggets
Project X Robotics
Team 1737
Excelsior Springs, MO
Attending: KC-Metro Regional
Project Manager, Lead Programmer