This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: uchar redefinition warning from cpphash.h


On Tue, Jun 25, 2002 at 11:13:15PM +0100, Neil Booth wrote:
> Rainer Orth wrote:-
> 
> > Not really: the definition is protected by _OSF_SOURCE, which is on by
> > default and enables all sorts of Tru64 UNIX additions to the various
> > standards (ISO C, POSIX.1, ...), so it's probably not really feasible to
> > disable it.
> > 
> > > I like it, and am reluctant to change all the source now.
> > 
> > I feared so, and couldn't suggest a good alternative.
> 
> OK, I'll delete the 'a' for uchr.  I'm not going to do it now, but it
> will get done in the next few weeks.

You could just add an autoconf test for the typedef, and define it if
not already present (in either cpplib.h or system.h).

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]