Page 1 of 1

FC8 compile error

Posted: Mon Jan 12, 2009 4:19 pm
by John Adams
Fedora Core 8 compile error with latest dev SVN

Code: Select all

Commands.cpp:2037: error: âstricmpâ was not declared in this scope
Spawn.h: In member function âvoid Spawn::Set(Field*, Value) [with Field = sint16, Value = float]â:
Spawn.h:128:   instantiated from âvoid Spawn::SetPos(Field*, Value, bool) [with Field = sint16, Value = float]â
Spawn.h:216:   instantiated from here
Spawn.h:116: warning: converting to âshort intâ from âfloatâ
make: *** [Commands.o] Error 1
Figured this was due to the recent spawn changes. Compiles fine on Win32.

Re: FC8 compile error

Posted: Mon Jan 12, 2009 4:24 pm
by LethalEncounter
Fixed.

Re: FC8 compile error

Posted: Mon Jan 12, 2009 4:34 pm
by John Adams
One more, buried in a literal sea of warnings heh...

Code: Select all

client.cpp: In member function âClient* ClientList::FindByName(char*)â:
client.cpp:1384: error: âstricmpâ was not declared in this scope
My linux machine is still available to you if you'd like to check it out.

Re: FC8 compile error

Posted: Mon Jan 12, 2009 5:13 pm
by Image
Should be fixed on SVN.

Re: FC8 compile error

Posted: Mon Jan 12, 2009 7:56 pm
by John Adams
Working now, thanks Image.

Re: FC8 compile error

Posted: Sun Feb 01, 2009 6:06 pm
by benboo
i have same problem

Code: Select all

Commands.cpp:1988: warning: deprecated conversion from string constant to `char*'
Commands.cpp:2127:2: warning: no newline at end of file
Spawn.h: In member function `void Spawn::Set(Field*, Value) [with Field = sint16, Value = float]':
Spawn.h:128:   instantiated from `void Spawn::SetPos(Field*, Value, bool) [with Field = sint16, Value = float]'
Spawn.h:216:   instantiated from here
Spawn.h:116: warning: converting to `short int' from `float'
make: *** [Commands.o] Error 1