Re: missing isinf declaration on solaris - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: missing isinf declaration on solaris
Date
Msg-id 542327D5.20705@gmx.net
Whole thread Raw
In response to Re: missing isinf declaration on solaris  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: missing isinf declaration on solaris
List pgsql-hackers
On 9/24/14 9:21 AM, Tom Lane wrote:
> Oskari Saarenmaa <os@ohmu.fi> writes:
>> ... so to enable XPG6 we'd need to use C99 mode anyway.
> 
> OK.
> 
>> Could we just use 
>> -std=gnu99 (with -fgnu89-inline if required) with GCC on Solaris?  ISTM 
>> it would be cleaner to just properly enable c99 mode rather than define 
>> an undocumented macro to use a couple of c99 declarations.
> 
> Agreed, but what about non-GCC compilers?

Stick AC_PROG_CC_C99 into configure.in.




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: identify_locking_dependencies is broken for schema-only dumps
Next
From: Tom Lane
Date:
Subject: Re: missing isinf declaration on solaris