Re: missing isinf declaration on solaris

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Oskari Saarenmaa <os(at)ohmu(dot)fi>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: missing isinf declaration on solaris
Date: 2014-09-25 13:56:56
Message-ID: 20140925135656.GW5311@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund wrote:
> On 2014-09-24 17:39:19 -0300, Alvaro Herrera wrote:

> > AFAIK we cannot move all the way to C99, because MSVC doesn't support
> > it.
>
> FWIW, msvc has supported a good part of C99 for long while. There's bits
> and pieces it doesn't, but it's not things I think we're likely to
> adopt. The most commonly complained about one is C99 variable
> declarations. I can't see PG adopting that tomorrow.

I got unlucky that I got bitten by precisely that missing feature twice,
I guess.

> From VS 2013 onwards they're trying hard to be C99 and C11 compatible.

Sounds great. Is VS2013 released already? If so, maybe we can think
about moving to C99 in 2016 or so; at least assuming you can build for
older Windows versions with the new compiler.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-09-25 13:57:29 Re: a fast bloat measurement tool (was Re: Measuring relation free space)
Previous Message Marko Tiikkaja 2014-09-25 13:56:54 Re: pgcrypto: PGP armor headers