Re: missing isinf declaration on solaris

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: missing isinf declaration on solaris
Дата
Msg-id 20140924203919.GT5311@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: missing isinf declaration on solaris  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: missing isinf declaration on solaris  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > On 9/24/14 9:21 AM, Tom Lane wrote:
> >> Agreed, but what about non-GCC compilers?
> 
> > Stick AC_PROG_CC_C99 into configure.in.
> 
> I think that's a bad idea, unless you mean to do it only on Solaris.
> If we do that unconditionally, we will pretty much stop getting any
> warnings about C99-isms on modern platforms.  I am not aware that
> there has been any agreement to move our portability goalposts up
> to C99.

AFAIK we cannot move all the way to C99, because MSVC doesn't support
it.  Presumably we're okay on the isinf() front because MSVC inherited
it from somewhere else (it's on BSD 4.3 according to my Linux manpage),
but other things are known not to work.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Immediate standby promotion
Следующее
От: Tom Lane
Дата:
Сообщение: Re: interval typmodout is broken