Compiler Error on FC9
Posted: Tue Oct 28, 2008 2:47 am
this is error message.
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/local/mysql/include/mysql -I/usr/mysql/include -I./LUA/include ../common/dbcore.cpp -o ../common/dbcore.o
In file included from ../common/../common/Mutex.h:29,
from ../common/debug.h:65,
from ../common/dbcore.cpp:20:
../common/../common/../common/types.h:186: warning: 'typedef' was ignored in this declaration
../common/dbcore.cpp: In member function 'bool DBcore::ReadDBINI(char*, char*, char*, char*, int32&, bool&, bool*)':
../common/dbcore.cpp:126: error: 'atoi' was not declared in this scope
make: *** [../common/dbcore.o] Error 1
OS: Fedora Core 9
DB: MySQL 5.0.67
GCC:gcc-4.3.0-8
LUA:lua-5.1.3
could someone tell me what does is mean please?
or tell me what is should to do, or where i need to edit about makefile?
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/local/mysql/include/mysql -I/usr/mysql/include -I./LUA/include ../common/dbcore.cpp -o ../common/dbcore.o
In file included from ../common/../common/Mutex.h:29,
from ../common/debug.h:65,
from ../common/dbcore.cpp:20:
../common/../common/../common/types.h:186: warning: 'typedef' was ignored in this declaration
../common/dbcore.cpp: In member function 'bool DBcore::ReadDBINI(char*, char*, char*, char*, int32&, bool&, bool*)':
../common/dbcore.cpp:126: error: 'atoi' was not declared in this scope
make: *** [../common/dbcore.o] Error 1
OS: Fedora Core 9
DB: MySQL 5.0.67
GCC:gcc-4.3.0-8
LUA:lua-5.1.3
could someone tell me what does is mean please?
or tell me what is should to do, or where i need to edit about makefile?