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

From Tom Lane
Subject Re: missing isinf declaration on solaris
Date
Msg-id 14963.1411564913@sss.pgh.pa.us
Whole thread Raw
In response to Re: missing isinf declaration on solaris  (Oskari Saarenmaa <os@ohmu.fi>)
Responses Re: missing isinf declaration on solaris
Re: missing isinf declaration on solaris
List pgsql-hackers
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?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: missing isinf declaration on solaris
Next
From: Tom Lane
Date:
Subject: Re: make pg_controldata accept "-D dirname"