bug-bison
[Top][All Lists]
Advanced

[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:45:11 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

On 1/20/21 10:25 AM, Albert Chin wrote:
Unfortunately, on HP-UX 11.23/IA, UINT_LEAST8_MAX evaluates to
((unsigned char)(255))

That is a known bug in HP-UX 11.23 that Gnulib has had a workaround for since 2009. See:

https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3a4f1890986aeea9906c261c146bfaab4136a263

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]