[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
can't use gettext-0.15 po in fedora core 4 (gcc-4.0.2 gettext-0.14.3)
From: |
haibin zhang |
Subject: |
can't use gettext-0.15 po in fedora core 4 (gcc-4.0.2 gettext-0.14.3) |
Date: |
Tue, 10 Oct 2006 23:15:52 +0800 (CST) |
HI all:
I use gettextize -c -f to create gettext po in Mingw in windows XP
(gettext-0.15) , but when I compile it in fedora core 4 (gcc-4.0.2
gettext-0.14.3) and fedora core 5 (gcc-4.1.1 gettext-0.14.5), it occur the
following error:
make[2]: Entering directory `/home/hbzhang/zhb_svn/build/hbstock_build/src'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../../hbstock/src -I.. -Wall -I/opt/ace/includ
e -I../../../hbstock/include -O2 -MT libhbstock2_la-i18n_debug.lo -MD -MP -MF
".deps/libhbstock2_la-i18n_debug.Tpo" -c -o lib
hbstock2_la-i18n_debug.lo `test -f 'i18n_debug.cpp' || echo
'../../../hbstock/src/'`i18n_debug.cpp; \
then mv -f ".deps/libhbstock2_la-i18n_debug.Tpo"
".deps/libhbstock2_la-i18n_debug.Plo"; else rm -f ".deps/libhbstock2_la-i18n
_debug.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I../../../hbstock/src -I.. -Wall -I/opt/ace/include
-I../../../hbstock/include -O2 -MT libhbstock2_
la-i18n_debug.lo -MD -MP -MF .deps/libhbstock2_la-i18n_debug.Tpo -c
../../../hbstock/src/i18n_debug.cpp -fPIC -DPIC -o .libs
/libhbstock2_la-i18n_debug.o
/usr/include/libintl.h:83: error: expected unqualified-id before 'throw'
/usr/include/libintl.h:83: error: expected initializer before 'throw'
/usr/include/libintl.h:87: error: expected unqualified-id before 'throw'
/usr/include/libintl.h:87: error: expected initializer before 'throw'
/usr/include/libintl.h:92: error: expected unqualified-id before 'throw'
/usr/include/libintl.h:92: error: expected initializer before 'throw'
but I can compile it in cygwin (gcc-3.4.4 gettext-0.14.5)
Could you help me ?
---------------------------------
Mp3疯狂搜-新歌热歌高速下
- can't use gettext-0.15 po in fedora core 4 (gcc-4.0.2 gettext-0.14.3),
haibin zhang <=