Re: Fix compiler warnings on 64-bit Windows

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

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-02-21T19:10:02Z
Lists: pgsql-hackers
On 2020-02-20 17:24, Tom Lane wrote:
> =?UTF-8?Q?Juan_Jos=C3=A9_Santamar=C3=ADa_Flecha?= <juanjo.santamaria@gmail.com> writes:
>> On Mon, Feb 17, 2020 at 4:52 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Anyway, I'll have a go at updating gaur to use 4.5.x.  There is a
>>> sane-looking stdint.h on my second-oldest dinosaur, prairiedog.
>>> Don't know about the situation on Windows, though.  We might want
>>> to take a close look at NetBSD, too, based on the GCC notes.
> 
>> As for Windows, stdint.h was included in VS2010, and currently Postgres
>> supports VS2013 to 2019.
> 
> I've now updated gaur to gcc 4.5.4 (took a little more hair-pulling
> than I would have wished).  I confirm that 0001-Require-stdint.h.patch
> works in that environment, so I think you can go ahead and push it.

Done, and also the appropriately reworked Windows warnings patch from 
the beginning of the thread.

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



Commits

  1. Fix compiler warnings on 64-bit Windows

  2. Require stdint.h