Re: VS 2015 support in src/tools/msvc - Mailing list pgsql-hackers

From Christian Ullrich
Subject Re: VS 2015 support in src/tools/msvc
Date
Msg-id 5706B0A9.6010005@chrullrich.net
Whole thread Raw
In response to Re: VS 2015 support in src/tools/msvc  (Petr Jelinek <petr@2ndquadrant.com>)
List pgsql-hackers
* Petr Jelinek wrote:

> On 07/04/16 00:50, Michael Paquier wrote:
>> On Thu, Apr 7, 2016 at 7:44 AM, Michael Paquier
>> <michael.paquier@gmail.com> wrote:
>>> On Thu, Apr 7, 2016 at 6:11 AM, Petr Jelinek <petr@2ndquadrant.com>
>>> wrote:
>>>> On 06/04/16 22:50, Andrew Dunstan wrote:

>>>>>    * VS2015 appears to create version 12 solution files, not
>>>>>      version 14, and the tools complained about version 14.

The "14" is the toolset version, i.e. the Visual Studio 2015 C/C++ 
compiler; this number appears in the .vcxproj files. The "12" is the 
file format version of the solution (.sln) files.

There are quite a few version numbers involved. Creating and building a 
C project in VS 2015 involves a solution file of version 12 referencing
a project file whose only version number is the 2003 in the XML 
namespace URL, feeding it to MSBuild version 14, which then invokes the 
compiler (in version 19). And then there is the <PlatformToolset> 
element, where the 14 is repeated as "v140", at least, I think it is the 
same number.

-- 
Christian




pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Performance improvement for joins where outer side is unique
Next
From: Christian Ullrich
Date:
Subject: Re: BUG #13854: SSPI authentication failure: wrong realm name used