Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   IFI Error (http://www.chiefdelphi.com/forums/showthread.php?t=43571)

iwdu15 08-02-2006 18:35

IFI Error
 
hi, im getting an error in the IFI_Startup.c file. Its a syntax error in this bock of code:


extern far rom struct //--->error on this line saying "syntax error"
{
unsigned short num_init;
struct _init_entry
{
unsigned long from;
unsigned long to;
unsigned long size;
}
entries[];
}
_cinit;


we have not done anything to the code, this is straight from the default code...so if anyone else is seeing this error or has a fix for it....itd b appreciated

Tureyhall 08-02-2006 18:39

Re: IFI Error
 
what's on the line BEFORE the syntax error line? check to see if you missed a semicolon. it will usually complain about the line AFTER the missing semicolon.

Greg Ross 08-02-2006 19:22

Re: IFI Error
 
Quote:

Originally Posted by iwdu15
we have not done anything to the code, this is straight from the default code.

If you haven't modified this file (which normally you wouldn't need to) then I suggest you delete it, and unzip a fresh copy from the distro. In my experience, it's all too easy to accidentally modify a file when all you're trying to do is look at it. If you look carefully you MAY find an errant keystroke somewhere between this line and the end of the _startup routine just before this declaration.

iwdu15 09-02-2006 18:11

Re: IFI Error
 
yea...well this one is my bad, ends up my IDE was buggy and was throwing a syntax error where it shouldnt have been...thanks for the help anyway, sorry about that


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

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