Re: Compiling HEAD with -Werror int 64-bit mode

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Postgresql-Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Compiling HEAD with -Werror int 64-bit mode
Date: 2009-12-15 20:16:33
Message-ID: 1260908193.9008.1.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-12-15 20:20:39 Re: Closing out CommitFest 2009-11
Previous Message Tom Lane 2009-12-15 20:15:14 Re: ProcessUtility_hook