Re: VS 2015 support in src/tools/msvc

From: Christian Ullrich <chris(at)chrullrich(dot)net>
To: Petr Jelinek <petr(at)2ndquadrant(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: VS 2015 support in src/tools/msvc
Date: 2016-04-07 19:10:33
Message-ID: 5706B0A9.6010005@chrullrich.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)paquier(at)gmail(dot)com> wrote:
>>> On Thu, Apr 7, 2016 at 6:11 AM, Petr Jelinek <petr(at)2ndquadrant(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christian Ullrich 2016-04-07 19:14:43 Re: [HACKERS] BUG #13854: SSPI authentication failure: wrong realm name used
Previous Message Alvaro Herrera 2016-04-07 19:02:14 Re: Performance improvement for joins where outer side is unique