Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   error while installing (http://www.go4expert.com/forums/error-while-installing-t17917/)

calvinlyp 9Jun2009 14:40

error while installing
 
hi all,

i am getting an error when installing a software.

source='zm.cpp' object='zm.o' libtool=no \
depfile='.deps/zm.Po' tmpdepfile='.deps/zm.TPo' \
depmode=gcc3 /bin/bash ../conftools/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -c -o zm.o `test -f 'zm.cpp' || echo './'`zm.cpp
In file included from /usr/include/c++/4.3/clocale:48,
from /usr/include/c++/4.3/i486-linux-gnu/bits/c++locale.h:47,
from /usr/include/c++/4.3/bits/localefwd.h:47,
from /usr/include/c++/4.3/string:50,
from ./serial.h:60,
from zm.cpp:39:
/usr/include/locale.h:125: error: expected unqualified-id before ‘throw’
/usr/include/locale.h:125: error: expected initializer before ‘throw’
In file included from /usr/include/c++/4.3/i486-linux-gnu/bits/c++locale.h:47,
from /usr/include/c++/4.3/bits/localefwd.h:47,
from /usr/include/c++/4.3/string:50,
from ./serial.h:60,
from zm.cpp:39:
/usr/include/c++/4.3/clocale:60: error: ‘::setlocale’ has not been declared
In file included from zm.cpp:39:

is there anyway i can solve the problem for
"/usr/include/c++/4.3/clocale:60: error: ‘::setlocale’ has not been declared"

pls advise.


All times are GMT +5.5. The time now is 10:47.