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

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

[gettext] Re: Comments on grep-2.3


From: Bruno Haible
Subject: [gettext] Re: Comments on grep-2.3
Date: Thu, 26 Apr 2001 19:02:49 +0200 (MET DST)

Nelson Beebe wrote on 1999-11-05:

> cc -ansi -O2 -mips2 -c -DLOCALEDIR="/usr/local/share/locale" 
> -DGNULOCALEDIR="/usr/local/share/locale"
-DLOCALE_ALIAS_PATH="/usr/local/share/locale:." -DHAVE_CONFIG_H -I..
-I. -I../intl -I../lib    bindtextdom.c
> cfe: Error: bindtextdom.c, line 116: Type int  of rhs of assignment expression
is incompatible with type unsigned char *  of lhs (3.3.16.1)
> new_dirname = strdup (dirname);
> ------------------^
> cfe: Error: bindtextdom.c, line 148: Type int  of rhs of assignment expression
is incompatible with type unsigned char *  of lhs (3.3.16.1)
> new_binding->domainname = strdup (domainname);
> ------------------------------^
> cfe: Error: bindtextdom.c, line 164: Type int  of rhs of assignment expression
is incompatible with type unsigned char *  of lhs (3.3.16.1)
> new_binding->dirname = strdup (dirname);
> -----------------------^

Using the -ansi flag causes the include files to be virtually empty.
You cannot expect that GNU software compiles correctly when you use
this flag.

Bruno



reply via email to

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