Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auMR1-0003SL-Ki for pgsql-hackers@arkaria.postgresql.org; Sun, 24 Apr 2016 15:58:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1auMR1-0003Ed-7H for pgsql-hackers@arkaria.postgresql.org; Sun, 24 Apr 2016 15:58:59 +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_2) (envelope-from ) id 1auMQu-0002vj-W1 for pgsql-hackers@postgresql.org; Sun, 24 Apr 2016 15:58:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1auMQr-0008Ty-R5 for pgsql-hackers@postgresql.org; Sun, 24 Apr 2016 15:58:52 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u3OFwhaP009187; Sun, 24 Apr 2016 11:58:43 -0400 From: Tom Lane To: Andrew Dunstan cc: Christian Ullrich , Michael Paquier , Petr Jelinek , Robert Haas , Magnus Hagander , PostgreSQL mailing lists Subject: Re: VS 2015 support in src/tools/msvc In-reply-to: <571CE6DC.9010501@dunslane.net> References: <5707D7DC.2030508@dunslane.net> <5707E074.4030102@chrullrich.net> <0B77CFCB-0F90-4CAB-8509-7EB391C06D59@chrullrich.net> <570A6A14.6040303@dunslane.net> <570A9FCE.5040201@chrullrich.net> <570ABFA0.4090403@2ndquadrant.com> <57192C59.9090903@dunslane.net> <571BD6D4.9@dunslane.net> <571BED3C.5070! ! 209@dunslane.net> <17239.1461448469@sss.pgh.pa.us> <10891.1461450795@sss.pgh.pa.us> <571C3CA6.5070803@dunslane.net> <571CE6DC.90105! 01@dunslane.net> Comments: In-reply-to Andrew Dunstan message dated "Sun, 24 Apr 2016 11:31:40 -0400" Date: Sun, 24 Apr 2016 11:58:43 -0400 Message-ID: <9186.1461513523@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) 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 Andrew Dunstan writes: > OK, here's my final version of the patch, which I will apply in 24 hours > or so unless there is an objection. > +#pragma warning(push) > +#pragma warning(disable : 4091) > #include > +#pragma warning(pop) Hmm ... does this pragma work on *every* compiler we're going to use on Windows? I'm afraid that trying to suppress a warning in VS2015 is going to result in outright failure with other compilers. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers