onthefritz
Joined: 18 Jul 2009 Posts: 14
|
Posted: Sat Jul 18, 2009 19:42 Post subject: str* make errors (not atoi) |
|
|
I am getting the following error when trying to run a make on the NWNX2 install...
Code: |
g++ -mcpu=i386 -c -o NWNXBase.o NWNXBase.cpp
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
NWNXBase.cpp: In member function ‘void CNWNXBase::Log(int, const char*, ...)’:
NWNXBase.cpp:80: warning: format not a string literal and no format arguments
NWNXBase.cpp: In member function ‘int CNWNXBase::ParamLog(int, const char*, char*)’:
NWNXBase.cpp:90: error: ‘strlen’ was not declared in this scope
NWNXBase.cpp:91: error: ‘strcpy’ was not declared in this scope
make: *** [NWNXBase.o] Error 1
|
Can anyone help? I'm running Linux Mint 7. (Although I'm thinking about switching to CentOS, or another server distro)
Thanks,
OTF |
|