Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)
Date
Msg-id 4056488.1689620150@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)  (Marcel Hofstetter <hofstetter@jomasoft.ch>)
List pgsql-bugs
Marcel Hofstetter <hofstetter@jomasoft.ch> writes:
> Am 17.07.2023 um 18:15 schrieb Tom Lane:
>> Hmm.  This problem seems straightforward enough to fix, but what I
>> don't understand is why we've not seen it already.  We do have a
>> buildfarm animal running on Solaris 11.4 [1], and it's not unhappy.

> I'm the owner of margay. No idea why it works there.
> buildfarm tests and building this beta2 is on the same system.

[ noses around a bit... ]  I see that margay uses --with-gssapi,
could that be the difference?  fe-auth.c pulls in a fair amount
more stuff if ENABLE_GSS is set than if it isn't, though I did
not check to see if <limits.h> is in there in particular.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Marcel Hofstetter
Date:
Subject: Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)
Next
From: Tom Lane
Date:
Subject: Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)