Re: Fix for configure error in 9.5/9.6 on macOS 11.0 Big Sur - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Fix for configure error in 9.5/9.6 on macOS 11.0 Big Sur
Date
Msg-id c7db0409-64bc-11d9-aa5b-c27d278af6d1@2ndquadrant.com
Whole thread Raw
In response to Re: Fix for configure error in 9.5/9.6 on macOS 11.0 Big Sur  (Jesse Zhang <sbjesse@gmail.com>)
Responses Re: Fix for configure error in 9.5/9.6 on macOS 11.0 Big Sur  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal - function string_to_table
Next
From: Thomas Munro
Date:
Subject: Re: A micro-optimisation for walkdir()