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

From Petr Jelinek
Subject Re: VS 2015 support in src/tools/msvc
Date
Msg-id 5705930E.1040905@2ndquadrant.com
Whole thread Raw
In response to Re: VS 2015 support in src/tools/msvc  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: VS 2015 support in src/tools/msvc  (Christian Ullrich <chris@chrullrich.net>)
List pgsql-hackers
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:
>>>> I have spent way too much time on this and don't have it working yet.
>>>> I'm setting up a sacrificial VM from scratch in a last ditch attempt to
>>>> get it working.
>>>>
>>>> Things to note so far:
>>>>
>>>>    * VS2015 appears to create version 12 solution files, not version 14,
>>>>      and the tools complained about version 14.
>>>>    * Windows git (the successor to msysGit) apparently no longer ships
>>>>      with bison and flex. So if you need those (i.e. to built from git,
>>>>      not tarball) you're probably going to need to install the MsysDTK
>>>>      even if you're not using its compiler.
>>>
>>> It's fun to set it up yes. I do have the machine with buildfarm client ready
>>> still (although now also traveling so slightly complicated to get to it) but
>>> I didn't activate it yet as I don't want it to just report failures forever.
>>
>> Petr, did you actually try the patches I sent? I did my tests using
>> the community version of Visual Studio 2015 and a full install of it.
>> If I am the only able to make those working, well we surely have a
>> problem captain.
>
> By the way, if I look at the vcxproj files generated in my case, those
> are correctly with Tools=14.0 or PlatformToolSet=v140.. Perhaps not
> using Win10 differs in the way things are generated.
>

I have community edition on win10 as well, worked fine there yes, I used 
just the command-line tools from it.

VS2015 creates version 12 solution only before the patches are applied 
for me, once they are applied it works fine.

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



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: VS 2015 support in src/tools/msvc
Next
From: Tomas Vondra
Date:
Subject: Re: PATCH: use foreign keys to improve join estimates v1