From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Cc: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>,Pg Hackers <pgsql-hackers(at)postgresql(dot)org>,Andrew Dunstan <andrew(at)dunslane(dot)net> |
Subject: | Re: pg_recvlogical.c doesn't build with --disable-integer-datetimes |
Date: | 2017-02-17 19:48:44 |
Message-ID: | 0C821A10-45A2-4112-A1A2-EDAE27712C62@anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On February 17, 2017 11:40:57 AM PST, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>I wrote:
>> Yeah. I have longfin which is running Apple's clang, and is on a
>machine
>> that doesn't have much to do otherwise. I propose to turn on -Werror
>in
>> its configuration, and to configure a second critter on the same
>hardware
>> that runs with -Werror as well as --disable-integer-datetimes.
>Somebody
>> else should do similarly with a reasonably modern/stable gcc release.
>
>So I tried doing that by adding -Werror to longfin's CFLAGS
>environment,
>and it crashed and burned in configure. The most obvious problem is
>that we didn't bother to supply a prototype for does_int64_work() in
>the probes for 64-bit ints. However, even after fixing that, configure
>produces totally bollixed output because -Werror breaks many of its
>built-in tests. We could fix the int64 tests but we have no good way
>of
>fixing the built-in tests.
>
>AFAICS, if you want to build with -Werror, you have to configure
>without
>that and then inject it afterwards. I wonder how people who use
>-Werror
>are handling that. Is it possible to do at all in a buildfarm critter?
Yea, I complained about that before. I think we'd have to add an extra configure option for it, because we rely in setting it only for certain tests. Personally I use CEXTRA (IIRC) to achieve that result after configure ran.
Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Dilger | 2017-02-17 19:51:27 | Re: pg_recvlogical.c doesn't build with --disable-integer-datetimes |
Previous Message | Tom Lane | 2017-02-17 19:40:57 | Re: pg_recvlogical.c doesn't build with --disable-integer-datetimes |