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

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

Re: gettext 0.10.40 compatibility problem with Solaris 8 + gcc + Bash


From: Paul Eggert
Subject: Re: gettext 0.10.40 compatibility problem with Solaris 8 + gcc + Bash
Date: Fri, 9 Nov 2001 14:18:31 -0800 (PST)

> From: Bruno Haible <address@hidden>
> Date: Fri, 9 Nov 2001 20:50:55 +0100 (CET)

> > #if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined 
> > __cplusplus || PROTOTYPES
> 
> The problem with this is that 'PROTOTYPES' is an identifier in the
> user's namespace....
> Actually I must also protect the PARAMS macro.

Ah.  I was confused by PARAMS into thinking that I was in the user's
namespace.

OK, how about appending '|| __PROTOTYPES' instead?  That won't stomp
on the user's namespace.  I can arrange for Autoconf to define
__PROTOTYPES the same way that it defines PROTOTYPES.

Another possibility would be to have two different versions of
libgnuintl.h, one for inclusion in the system libraries, and one for
use in user code.  But this is more complicated.



reply via email to

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