[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can't use gettext-0.15 po in fedora core 4 (gcc-4.0.2 gettext-0.14.3
From: |
haibin zhang |
Subject: |
Re: can't use gettext-0.15 po in fedora core 4 (gcc-4.0.2 gettext-0.14.3) |
Date: |
Wed, 11 Oct 2006 21:53:24 +0800 (CST) |
Hi Bruno:
I found the bug.
It occur error because I use old gettext.h in gettext-0.14.6, I replace it with
new gettext.h in gettext-0.15, now it's okay.
thank you .
Bruno Haible <address@hidden> 写道: Hello,
haibin zhang wrote:
> 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:
> ...
> 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)
You showed the g++ command line and the error messages. Fine.
But can you also show
- the relevant line numbers (83 to 92) of /usr/include/libintl.h ?
- the corresponding preprocessed output (same g++ command line as
above, except that you remove the -c and -o options and instead put
a -E option and redirect the output to a file)?
Bruno
---------------------------------
Mp3疯狂搜-新歌热歌高速下