Re: Fix for configure error in 9.5/9.6 on macOS 11.0 Big Sur

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix for configure error in 9.5/9.6 on macOS 11.0 Big Sur
Дата
Msg-id 558420.1599111603@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix for configure error in 9.5/9.6 on macOS 11.0 Big Sur  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: Fix for configure error in 9.5/9.6 on macOS 11.0 Big Sur
Список pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 2020-09-02 22:43, Jesse Zhang wrote:
>> | conftest.c:184:3: error: implicitly declaring library function
>> 'exit' with type 'void (int) __attribute__((noreturn))'
>> [-Werror,-Wimplicit-function-declaration]

> Where did the -Werror come from?

Peter wasn't entirely explicit here, but note the advice at the end of

https://www.postgresql.org/docs/devel/install-procedure.html

that you cannot include -Werror in any CFLAGS you tell configure
to use.  It'd be nice if autoconf was more robust about that,
but it is not our bug to fix.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: A micro-optimisation for walkdir()
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: A micro-optimisation for walkdir()