Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anwIx-0003xe-EL for pgsql-hackers@arkaria.postgresql.org; Wed, 06 Apr 2016 22:52:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1anwIx-0005AI-0k for pgsql-hackers@arkaria.postgresql.org; Wed, 06 Apr 2016 22:52:07 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anwIv-00056v-Hw for pgsql-hackers@postgresql.org; Wed, 06 Apr 2016 22:52:05 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1anwIs-00010g-Lv for pgsql-hackers@postgresql.org; Wed, 06 Apr 2016 22:52:04 +0000 Received: by mail-pa0-x22e.google.com with SMTP id bx7so25480531pad.3 for ; Wed, 06 Apr 2016 15:52:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=pt4yEEf8c9OiAyCxoGNAQXB2i8FP+2A/YXNRzJ8jPpU=; b=Q9Bf6U0PQNjZJKW1vM6elX43mSuBLYN36tJ76YK0N6BjbrAoWMWESymlQsNfWe1hWS eAUHq1REhLsJd+laC9Icfgu9Dgosf8gxuZOxv4kjaCR2f98/6bAkGUX9+JMhjA6XoMcj nNnZZ/jAa1NSdRizYEESWbtxUmm5r6kz9YaEDlVaLfIsSE2E2kVFSkaq0rXwNE+sHkt3 j22FvJ1q889ve3LfO8Yj5q/Gsdb1SCd69AMtk8KD/P+5GMTq9uYvj+kNlbV9o1GbeLrm kS5NSnDrtGaFtXkEXRhuMSKAQgFBLTtsKsLulQhTA+BpMk01r+WbOXOJWjDovmNpYPhY T0qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=pt4yEEf8c9OiAyCxoGNAQXB2i8FP+2A/YXNRzJ8jPpU=; b=bhRS1D9mPZFhTS/cbqjS8SStDHovepWdKiSkBWaXsaiCaodb+Vy+VwDyTVcloG/L1U v2mQQTieOF+e6YKnQkAqoyctc0jlZqwB9q0EINFYyAoGbQbK1/pBObeUWf/YYTQxlAFd ZDH0PVtqXXozTtzSn0hV0j4xKvk0euFJL/rNF2+Iw4tmB+PHRJKimXKHBUyuuglTTRS1 2aQP6QWRLN4y6MhrAoVrz7NxGq00YNjxj3JoR+l4j/KPUX239JNJm1a7gTTyqMlA6+ZB kg9I0rn1fR1F3VfpcMY2CvIF5fWx9exFapWXRBMLgjEwpWEF+QB6n4dGIU/1qTMxrvM2 FTgQ== X-Gm-Message-State: AD7BkJKOUN73Aj6kDboXB9xrU9Y7pmXcwPns4H97URMU8iVDbPlGFYuoxt8SoaPnjTg3vxsDMwKiwBI/VXzmVUzTICCzWjvx3Z+IBqzWu0qOWsy+ZLX4VuT2GqsMPVMEHPUj754Vdr77SNHQQK3oana+QpV+LSqZMUqh8kXVGZyuKCT2njJT7foqI8fRFCcgKw== X-Received: by 10.66.244.233 with SMTP id xj9mr74661210pac.19.1459983121404; Wed, 06 Apr 2016 15:52:01 -0700 (PDT) Received: from [10.250.0.150] ([209.12.74.162]) by smtp.gmail.com with ESMTPSA id zp5sm7251881pac.9.2016.04.06.15.51.59 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Apr 2016 15:51:59 -0700 (PDT) Subject: Re: VS 2015 support in src/tools/msvc To: Michael Paquier References: <56F41EEA.5040105@2ndquadrant.com> <56F53382.3060508@dunslane.net> <56FA9FDF.20108@2ndquadrant.com> <56FB2BF8.3060303@dunslane.net> <5705768E.4020908@dunslane.net> <57057B90.4090200@2ndquadrant.com> Cc: Andrew Dunstan , Robert Haas , Tom Lane , Magnus Hagander , PostgreSQL mailing lists From: Petr Jelinek Message-ID: <5705930E.1040905@2ndquadrant.com> Date: Thu, 7 Apr 2016 00:51:58 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 07/04/16 00:50, Michael Paquier wrote: > On Thu, Apr 7, 2016 at 7:44 AM, Michael Paquier > wrote: >> On Thu, Apr 7, 2016 at 6:11 AM, Petr Jelinek 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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers