Re: Cannot find a working 64-bit integer type on Illumos - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Cannot find a working 64-bit integer type on Illumos
Date
Msg-id 20240322183826.4qez2fa27r4fgdjw@awork3.anarazel.de
Whole thread Raw
In response to Re: Cannot find a working 64-bit integer type on Illumos  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Cannot find a working 64-bit integer type on Illumos
List pgsql-hackers
Hi,

On 2024-03-22 13:25:56 -0400, Tom Lane wrote:
> The short answer is that Autoconf is not designed to support -Werror
> and it's not worth it to try to make it do so.

I wonder if we ought to make configure warn if it sees -Werror in CFLAGS -
this is far from the first time somebody stumbling with -Werror. Including a
few quite senior hackers, if I recall correctly.  We could also just filter it
temporarily and put it back at the end of configure.

I don't think there's great way of making the autoconf buildsystem use -Werror
continually, today. IIRC the best way is to use Makefile.custom.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER
Next
From: Robert Haas
Date:
Subject: Re: pg_upgrade --copy-file-range