|
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 |
On 1/20/21 3:50 PM, Albert Chin wrote:
That is a known bug in HP-UX 11.23 that Gnulib has had a workaround for since 2009. See: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.
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?
0001-c-port-to-HP-UX-11.23.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |