[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: Paul Eggert
Subject: Re: __UINT_LEAST8_MAX__ and HP-UX 11.23/IA
Date: Wed, 20 Jan 2021 18:52:37 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

[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. See:


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

Does the attached Bison patch fix the problem for you?

Attachment: 0001-c-port-to-HP-UX-11.23.patch
Description: Text Data

reply via email to

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