Go to Post "I would love to change the world but no one will give me the source code" - programmr [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-02-2007, 22:46
Nothing551 Nothing551 is offline
Registered User
FRC #0333
 
Join Date: Feb 2007
Rookie Year: 2004
Location: Brooklyn
Posts: 6
Nothing551 is an unknown quantity at this point
Very Wierd Error

I get this error when I try to build an altered camera code


C:\MCC18\h\stdarg.h:6:Error: syntax error

Does anybody know what this means and can anybody help?
  #2   Spotlight this post!  
Unread 17-02-2007, 22:48
Nothing551 Nothing551 is offline
Registered User
FRC #0333
 
Join Date: Feb 2007
Rookie Year: 2004
Location: Brooklyn
Posts: 6
Nothing551 is an unknown quantity at this point
Re: Very Wierd Error

Never Mind sorry for the trouble
I found out the problem.
  #3   Spotlight this post!  
Unread 18-02-2007, 15:54
Gaj Gaj is offline
Registered User
FRC #0246
 
Join Date: Feb 2007
Location: Boston
Posts: 3
Gaj is an unknown quantity at this point
Re: Very Wierd Error

I just encountered the error -- how did you solve it?

Thank you!
  #4   Spotlight this post!  
Unread 18-02-2007, 16:05
Orborde Orborde is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Apr 2004
Rookie Year: 2003
Location: Indianapolis, IN
Posts: 44
Orborde has a spectacular aura aboutOrborde has a spectacular aura about
Send a message via AIM to Orborde
Re: Very Wierd Error

Such errors that seem to show up in standard header files are because C is kind of dumb. Look just before where the header file got #included in your code. It's often something like this:
Code:
int some_global = 7   // no semicolon!
#include <stdio.h>    // but the error will probably be shown as being from this file
  #5   Spotlight this post!  
Unread 18-02-2007, 18:03
Gaj Gaj is offline
Registered User
FRC #0246
 
Join Date: Feb 2007
Location: Boston
Posts: 3
Gaj is an unknown quantity at this point
Re: Very Wierd Error

Yup, that was it, thank you very much!

(As it turns out, there was a rogue 'z' at the very top of the file)
Closed Thread


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
wierd compiling error Joohoo Programming 1 08-02-2007 21:32
Wierd search behavior.... Salik Syed Programming 7 23-02-2006 13:12
Very wierd compiling problem! Max Brin Programming 6 08-02-2006 15:43
Wierd error (With edu bot ... Salik Syed Programming 4 09-03-2004 21:34
Wierd basic init Jeremy J Programming 5 06-02-2003 11:42


All times are GMT -5. The time now is 01:39.

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