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

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Jesse Zhang <sbjesse(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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 04:57:47
Message-ID: c7db0409-64bc-11d9-aa5b-c27d278af6d1@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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]
> | exit(! does_int64_work());
> | ^
> | conftest.c:184:3: note: include the header <stdlib.h> or explicitly
> provide a declaration for 'exit'
> | 2 warnings and 1 error generated.

Where did the -Werror come from?

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2020-09-03 05:08:48 Re: A micro-optimisation for walkdir()
Previous Message Pavel Stehule 2020-09-03 03:01:25 Re: proposal - function string_to_table