[Top][All Lists]

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

Re: __UINT_LEAST8_MAX__ and HP-UX 11.23/IA

From: Akim Demaille
Subject: Re: __UINT_LEAST8_MAX__ and HP-UX 11.23/IA
Date: Thu, 21 Jan 2021 19:41:09 +0100

Hi Paul, hi Albert,

> Le 21 janv. 2021 à 03:52, Paul Eggert <eggert@cs.ucla.edu> a écrit :
> [Resending as the first message had the incorrect "bus-bison" as the return 
> address.]
> On 1/20/21 3:50 PM, Albert Chin wrote:
>>> Unfortunately, on HP-UX 11.23/IA, UINT_LEAST8_MAX evaluates to
>>> ((unsigned char)(255)) causing a problem with:
>>>   #elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \
>>>          && UINT_LEAST8_MAX <= INT_MAX)
>> This is also an issue for UINT_LEAST16_MAX.
> That is a known bug in HP-UX 11.23 that Gnulib has had a workaround for since 
> 2009.

Wow :(  This is really bad...

> I suppose Bison cannot assume that Gnulib is in use, unfortunately.


> Does the attached Bison patch fix the problem for you?
> <0001-c-port-to-HP-UX-11.23.patch>

> Le 21 janv. 2021 à 19:09, Albert Chin <bug-bison@mlists.thewrittenword.com> a 
> écrit :
> Yes, it would fix it. We're currently doing something like the
> attached.

Ok, I will read this "Yes, it would fix it" as "Yes, it does fix it".
I'll install the patch (if Paul didn't) and will release a bug fix
asap.  Does that sound good for you?

reply via email to

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