Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1abWtI-0003xW-Dc for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Mar 2016 17:18:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1abWtH-0006zg-U1 for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Mar 2016 17:18:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1abWtF-0006tg-RW for pgsql-hackers@postgresql.org; Thu, 03 Mar 2016 17:18:17 +0000 Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1abWt9-0008Ci-Bc for pgsql-hackers@postgresql.org; Thu, 03 Mar 2016 17:18:17 +0000 Received: from mfilter43-d.gandi.net (mfilter43-d.gandi.net [217.70.178.174]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id D7EEBA80DD; Thu, 3 Mar 2016 18:18:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter43-d.gandi.net Received: from relay3-d.mail.gandi.net ([IPv6:::ffff:217.70.183.195]) by mfilter43-d.gandi.net (mfilter43-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id eBYrK4ra1UFI; Thu, 3 Mar 2016 18:18:08 +0100 (CET) X-Originating-IP: 98.122.164.227 Received: from [192.168.10.146] (unknown [98.122.164.227]) (Authenticated sender: adsend@dunslane.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id B5682A80D2; Thu, 3 Mar 2016 18:18:07 +0100 (CET) Subject: Re: VS 2015 support in src/tools/msvc To: Michael Paquier , PostgreSQL mailing lists References: From: Andrew Dunstan Message-ID: <56D871CE.8020709@dunslane.net> Date: Thu, 3 Mar 2016 12:18:06 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.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 03/03/2016 09:02 AM, Michael Paquier wrote: > Hi all, > > Microsoft provides a set of VMs that one can use for testing and > Windows 10 is in the set: > https://dev.windows.com/en-us/microsoft-edge/tools/vms/windows/ > I have grabbed one and installed the community version of Visual > Studio 2015 so I think that I am going to be able to compile Postgres > with VS2015 with a bit of black magic. > > My goal is double: > 1) As far as things have been discussed, VS2015 is making difficult > the compilation of Postgres, particularly for locales. So I'd like to > see what are the problems behind that and see if we can patch it > properly. This would facilitate the integration of cmake as well for > Windows. > 2) src/tools/msvc stuff has support only up to VS2013. I think that it > would be nice to bump that a bit and get something for 9.5~. > > So, would there be interest for a patch on the perl scripts in > src/tools/msvc or are they considered a lost cause? Having a look at > the failures could be done with the cmake work, but it seems a bit > premature to me to look at that for the moment, and having support for > VS2015 with 9.5 (support for new versions of VS won a backpatch the > last couple of years) would be a good thing I think. I am not holding my breath on cmake. Until we have something pretty solid on that front I'm going to assume it's not happening. If we're going to support VS2015 (and I think we should) then it should be supported for all live branches if possible. I'm assuming the changes would be pretty localized, at least in src/tools/msvc, and adding a new compile shouldn't break anything with existing compilers. cheers andrew -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers