Re: A few warnings on Windows

Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, Christian Ullrich <chris@chrullrich.net>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>, Michael Paquier <michael@paquier.xyz>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2018-05-03T14:46:47Z
Lists: pgsql-hackers
On 5/3/18 10:18, Tom Lane wrote:
> Christian Ullrich <chris@chrullrich.net> writes:
>>> Thomas Munro <thomas.munro@enterprisedb.com> writes:
>>>> Does anyone know what line 174 of pyconfig.h happens to say?
> 
>> typedef _W64 int ssize_t;
>> , in a "not for 64-bit" block.
>> <https://github.com/python/cpython/blob/v3.6.3/PC/pyconfig.h>, 3.6.3 is 
>> the installed version on whelk.
> 
> Thanks.  Not a lot we're going to be able to do about silencing that
> one, I'm afraid.  Too bad they haven't wrapped that stanza in
> "#ifndef HAVE_SSIZE_T".

There is still time to send a patch for Python 3.7.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Commits

  1. Suppress some compiler warnings in plperl on Windows.

  2. Fix compiler warning on Windows.

  3. Change SIZEOF_BOOL to 1 for Windows.

  4. Fix some assorted compiler warnings on Windows.

  5. Clean up warnings from -Wimplicit-fallthrough.