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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marcel Hofstetter <hofstetter(at)jomasoft(dot)ch>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)
Date: 2023-07-17 18:55:50
Message-ID: 4056488.1689620150@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Marcel Hofstetter <hofstetter(at)jomasoft(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2023-07-17 20:42:47 Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)
Previous Message Marcel Hofstetter 2023-07-17 18:46:50 Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)