Re: C++ compiler - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: C++ compiler
Date
Msg-id 51C92D22.8080009@2ndquadrant.com
Whole thread Raw
In response to Re: C++ compiler  (james <james@mansionfamily.plus.com>)
List pgsql-hackers
On 06/25/2013 01:36 PM, james wrote:
> On 25/06/2013 05:16, Tom Lane wrote:
>> It might be time to reconsider whether we should move the baseline
>> portability requirement up to C99.
> 
> My understanding was that you picked up a lot of users when the Win32
> port became useful.  While you can build with msys, I would think that
> leaving Microsoft's tooling behind would be a mistake, and as far as I
> am aware they have said that they are supporting C++11 but not bothering
> with C99.

In practice, a lot of what we'd want from C99 is part of C++11 (and
older) anyway. If MSVC will permit the use of such features in C where
they correspond to similar features in C++ then that'd be OK.

Otherwise I guess it'd be another reason to give in and move to a C++
subset.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: james
Date:
Subject: Re: C++ compiler
Next
From: Pavel Stehule
Date:
Subject: Re: proposal 9.4 plpgsql: allows access to call stack from GET DIAGNOSTICS statement