Re: Further simplification of c.h's #include section - Mailing list pgsql-hackers

From David Rowley
Subject Re: Further simplification of c.h's #include section
Date
Msg-id CAKJS1f_iaeztUHvpT53xd6Z_7O8brRF8=Z_70EnvWwpVU7cm9w@mail.gmail.com
Whole thread Raw
In response to Re: Further simplification of c.h's #include section  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Further simplification of c.h's #include section  (Michael Paquier <michael.paquier@gmail.com>)
Re: Further simplification of c.h's #include section  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 16 November 2017 at 15:52, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Anybody want to test this manually, or shall we just throw it into the
> buildfarm and see what blows up?

I don't have any cygwin around, but it compiles fine with the Visual Studios 2012 toolchain.

I do get some warnings:

(ClCompile target) ->
  src/test/modules/test_session_hooks/test_session_hooks.c(112): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'session_start_hook_type' [test_session_hooks.vcxproj]
  src/test/modules/test_session_hooks/test_session_hooks.c(113): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'session_end_hook_type' [test_session_hooks.vcxproj].

    2 Warning(s)

But I imagine that was caused by 745948422c (also get the warnings without your patch)

--
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Treating work_mem as a shared resource (Was: Parallel Hash take II)
Next
From: Michael Paquier
Date:
Subject: Re: Further simplification of c.h's #include section