Go to Post I normally prefer my speed controllers to brake, rather then break. - Joe Ross [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 04-02-2005, 16:53
katkana katkana is offline
that programmer chick
AKA: Gillian Koch
FRC #1412 (Mercedes Metalheads)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Hackensack
Posts: 28
katkana is on a distinguished road
Send a message via AIM to katkana
Question Syntax Problems...

I'm in the process of writing an autonomous code for our 'bot, but when I tried to compile, I was hit with a syntax error in the file I'd edited the auto code into. Common problem, yes, but the line reference was one of the original code lines. (I should also note that the ONLY editing I've done to the file was to add the autonomous code... no changes were made to any other line).

Here's the error message:
Code:
Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines_fast_edit.c" -fo="user_routines_fast_edit.o" /i"C:\mcc18\h" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
X:\USFirst-Klaube\C Programming\FrcCode\user_routines_fast_edit.c:111:Error: syntax error
And the line reference:
Code:
while (autonomous_mode)   /* DO NOT CHANGE! */
... I also compiled the code without a space between while and (, but the same message popped up. Am I missing something here?

While I'm at it, I might as well add a question: some of the files in the output window popped up as 'out of date'.
PHP Code:
MakeThe target "X:\USFirst-Klaube\C Programming\FrcCode\user_routines_fast_edit.o" is out of date
Is this something I need be concerned with?

Thanks for the help in advance...

~kat
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
If you're having MPLAB problems, LOOK HERE. Jeremy_Mc Programming 0 20-01-2004 18:06
Do you all have problems with.... Munkaboo Website Design/Showcase 19 03-03-2003 19:51
Any problems with PBASIC 2.5 Editor v2.0 Carl Owenby Programming 7 10-02-2003 10:00
Joystick problems archiver 2001 3 24-06-2002 02:40


All times are GMT -5. The time now is 21:51.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi