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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: Postgresql-Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Compiling HEAD with -Werror int 64-bit mode
Date: 2009-12-15 15:02:04
Message-ID: 15161.1260889324@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Florian G. Pflug" <fgp(at)phlo(dot)org> writes:
> configure fails to recognize "long" as a working 64-bit type because the
> does_int64_work configure test produces warning due to a missing return
> value declaration for main() and a missing prototype for
> does_int64_work(). (Aain, those warning are turned into errors by -Werror).

autoconf's test programs tend to be sufficiently sloppy that I would
expect -Werror to break a whole lot of things, not just this.
We can possibly neaten up the particular test case but there are many
tests whose expansion we don't have much control over.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-12-15 15:03:54 Re: Adding support for SE-Linux security
Previous Message Tom Lane 2009-12-15 14:58:28 Re: Range types