View Single Post
  #11   Spotlight this post!  
Unread 24-02-2006, 14:22
Keith Watson Keith Watson is offline
Registered User
FRC #0957 (WATSON)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Wilsonville, OR
Posts: 112
Keith Watson is just really niceKeith Watson is just really niceKeith Watson is just really niceKeith Watson is just really nice
Re: syntax error in code that i have never even seen before: HELP!

Always remember that you are smarter than the compiler.

How is something like this tracked down? A problem with a standard h file is most likely caused by a syntax error before that file is included.

Look at what files in the FRC directory include stdarg.h. None. So it has to be included from a .h file somewhere. Look in MCC18/h. It is only included by stdio.h and is the first thing in that file.

So the place to look for errors is between the start of the .c file which is not compiling and the line "#include <stdio.h>".
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.