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

From Peter Eisentraut
Subject Re: Compiling HEAD with -Werror int 64-bit mode
Date
Msg-id 1260908193.9008.1.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Compiling HEAD with -Werror int 64-bit mode  ("Florian G. Pflug" <fgp@phlo.org>)
Responses Re: Compiling HEAD with -Werror int 64-bit mode  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On tis, 2009-12-15 at 16:15 +0100, Florian G. Pflug wrote:
> Alternatively - is there a way to use -Werror only for building the
> actual sources, not the configure tests? I didn't find one, but my
> autoconf-fu is pretty limited...

I always build with

pgmake='make COPT="-Werror -Wno-inline"'

(The -Wno-inline is obsolete in more recent version.)

I have also tried in the past to pass -Werror through configure, but
that caused too many problems.




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ProcessUtility_hook
Next
From: Tom Lane
Date:
Subject: Re: Closing out CommitFest 2009-11