[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: |
Bruno Haible |
Subject: |
Re: can't use gettext-0.15 po in fedora core 4 (gcc-4.0.2 gettext-0.14.3) |
Date: |
Tue, 10 Oct 2006 17:36:41 +0200 |
User-agent: |
KMail/1.9.1 |
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