thanks nick for the clarification, i went back into my source backups and found that i had an errent <space bar> or 3 heh, as i do all of my coding locally, i missed this problem as my compiler seems to not be bothered by such slackness(even if the crappy code was written my resort mud). My host seems to be a lot more strict with the code tho, which i guess can only mean that i will hopefully crash less from my own sloppyness.
EldhaMUD Game Developments
The_Fury: Lead Developer, Head Coder
http://fury.eldhamud2.org
Sounds like it might be from somewher above that, as I can't see anything wrong with what you have. You can try to simply put it all on one line, it looks ugly, but it may work.
Amended on Sun 22 Feb 2004 07:53 AM (UTC) by Robert Powell
Message
I just payed for some hosting and upploaded my source and tryed to compile and got the following errors, i have know idea why this would happen but im guessing it has something to do with the compilers, im using the latest mandrake and the server is redhat, any assistance would be great. Oh they say that they have these copmpilers C/C++ Compiler: gcc 2.95.3 & gcc 3.3
locker.c:145: parse error befor `if'
locker.c:145 stray '\' in program
#if defined(KEY)
#undef KEY
#endif
#define KEY( literal, field, value ) \
if ( !str_cmp( word, literal ) ) \
{ \
field = value; \
fMatch = TRUE; \
break; \
}
EldhaMUD Game Developments
The_Fury: Lead Developer, Head Coder
http://fury.eldhamud2.org
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.