bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BUG in libintl - gettext should not be defined as macros


From: Bruno Haible
Subject: Re: BUG in libintl - gettext should not be defined as macros
Date: Fri, 7 Jun 2002 14:50:40 +0200 (CEST)

Christian Casteyde writes:
> I noticed that kdevelop 3.0.1 do not compile with gcc 3.1 & gettext 0.11.2
> with -O flag because :
> 1. this cause the __OPTIMIZE__ macro to be defined ;
> 2. that cause the gettexte function to be defined as a macro ;
> 3. that prevents code such as the following to compile if optimized :
>
> #include <libintl.h>
>
> class A
> {
> public:
>         char *gettext()
>         {
>                 return "az";
>         }
> };

Thanks for reporting this; it is indeed a bad bug and will be fixed in
gettext 0.11.3.

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]