Re: Compiling HEAD with -Werror int 64-bit mode - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Compiling HEAD with -Werror int 64-bit mode
Date
Msg-id 15704.1260916723@sss.pgh.pa.us
Whole thread Raw
In response to Re: Compiling HEAD with -Werror int 64-bit mode  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Compiling HEAD with -Werror int 64-bit mode  ("Florian G. Pflug" <fgp@phlo.org>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> So to summarize, this is just a bad idea.  Creating a less obscure way
> to use -Werror might be worthwhile, though.

I suppose we could add "--with-Werror" but it seems pretty specialized
to me.  A more appropriate solution would allow the user to provide
flags that get added to CFLAGS only after we do all the configure tests
(implying that it's on the user's head that these flags are right and
don't break anything, but then again that's pretty much true of up-front
CFLAGS too).  And that basically describes COPTS ... the only thing
lacking is documentation.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Range types
Next
From: Scott Bailey
Date:
Subject: Re: Range types