| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
| Cc: | Jesse Zhang <sbjesse(at)gmail(dot)com>, Thomas Gilligan <thomas(dot)gilligan(at)icloud(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Fix for configure error in 9.5/9.6 on macOS 11.0 Big Sur |
| Date: | 2020-09-03 05:40:03 |
| Message-ID: | 558420.1599111603@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Munro | 2020-09-03 06:38:07 | Re: A micro-optimisation for walkdir() |
| Previous Message | Tom Lane | 2020-09-03 05:36:16 | Re: A micro-optimisation for walkdir() |