Re: A few warnings on Windows - Mailing list pgsql-hackers

From Christian Ullrich
Subject Re: A few warnings on Windows
Date
Msg-id 8ffc8067-a5f3-a3d7-f289-4c5a0cd3cef4@chrullrich.net
Whole thread Raw
In response to Re: A few warnings on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: A few warnings on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
* Tom Lane wrote:

> Thomas Munro <thomas.munro@enterprisedb.com> writes:
>> One more problem.  whelk builds against Python 3.6 and says:
> 
>> c:\users\pgbf\appdata\local\programs\python\python36-32\include\pyconfig.h(174):
>> warning C4142: benign redefinition of type
>> (src/pl/plpython/plpy_elog.c)
>> [C:\buildfarm\buildenv\HEAD\pgsql.build\plpython3.vcxproj]
> 
>> 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.

-- 
Christian



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Optimize Arm64 crc32c implementation in Postgresql
Next
From: Pavel Golub
Date:
Subject: Re: Is a modern build system acceptable for older platforms