Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes

Поиск
Список
Период
Сортировка
Искать
От
Thomas Munro
Тема
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes
Дата
Msg-id
CAEepm=1wVjmuPCdtgyn7-huNFAabhu4b7VwoRpCcVtQ7C=ScTw@mail.gmail.com
Ответ на
Список
Дерево обсуждения
[HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pg_recvlogical.c doesn't build with--disable-integer-datetimes Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Andres Freund <andres@anarazel.de>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Andres Freund <andres@anarazel.de>
Re: [HACKERS] pg_recvlogical.c doesn't build with--disable-integer-datetimes Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes Mark Dilger <hornschnorter@gmail.com>
Re: [HACKERS] pg_recvlogical.c doesn't build with--disable-integer-datetimes Alvaro Herrera <alvherre@2ndquadrant.com>
On Sat, Feb 18, 2017 at 9:04 AM, Tom Lane  wrote:
> Andres Freund  writes:
>> On February 17, 2017 11:40:57 AM PST, Tom Lane  wrote:
>>> 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.
>
> [ pokes around... ]  Ah, that's called COPT, and it's entirely
> undocumented :-(.  Probably ought to fix that.

One way to set that up is like this:

$ cat src/Makefile.custom
COPT=-Wall -Werror $(CC_OPT)

-- 
Thomas Munro
http://www.enterprisedb.com


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Tom Lane
Дата:
FAQ