Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFXcM-0001xy-IJ for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Nov 2017 03:47:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFXcM-0005bC-3r for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Nov 2017 03:47:02 +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 1eFXcL-0005b2-RH for pgsql-hackers@lists.postgresql.org; Fri, 17 Nov 2017 03:47:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eFXcI-0008HF-Qx for pgsql-hackers@postgresql.org; Fri, 17 Nov 2017 03:47:00 +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 vAH3kt3X025238; Thu, 16 Nov 2017 22:46:55 -0500 From: Tom Lane To: Glen Knowles cc: PostgreSQL-development Subject: Re: _WINSOCK_DEPRECATED_NO_WARNINGS In-reply-to: References: <20124.1510850225@sss.pgh.pa.us> Comments: In-reply-to Glen Knowles message dated "Thu, 16 Nov 2017 19:28:19 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25236.1510890415.1@sss.pgh.pa.us> Date: Thu, 16 Nov 2017 22:46:55 -0500 Message-ID: <25237.1510890415@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Glen Knowles writes: > On Thu, Nov 16, 2017 at 8:37 AM, Tom Lane wrote: >> but evidently it chose the wrong cutoff for when to enable that >> symbol, because woodlouse is (or claims to be) running VS2013. > It's actually checking the wrong thing, the problem is the version of the > Windows SDK, and while the one installed by default with VS2015 might be > the right place to cutoff it's not uncommon to have multiple versions of > the SDK (and VS) in various combinations. Ah, interesting point --- though it's not clear that woodlouse is actually running a mixture of SDK/VS releases. > Or you could just define it unconditionally. :) Already done that way. I wonder though if this means the other tests of _MSC_VER in our tree are wrong? regards, tom lane