Re: A few warnings on Windows
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Michael Paquier <michael@paquier.xyz>,
Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2018-05-02T20:01:53Z
Lists: pgsql-hackers
Thomas Munro <thomas.munro@enterprisedb.com> writes: > The only remaining warnings on those machines now come from the fact > that our port_win32.h and Perl's XSUB.h both want to define macros to > define macros for libc functions like mkdir etc. plperl.h already > seems to deal with other similar kinds of ugliness. Perhaps if > PG_NEED_PERL_XSUB_H is defined we should undefine port_win32.h's > libc-stealing macros before including it? Either way XSUB.h's > definitions win. That should get us to 0 warnings. See attached (not > tested). Seems reasonable to me. Pushed, we'll see what the buildfarm thinks. regards, tom lane
Commits
-
Suppress some compiler warnings in plperl on Windows.
- 0996e4be047f 11.0 landed
-
Fix compiler warning on Windows.
- fe4ecd08d81c 11.0 landed
-
Change SIZEOF_BOOL to 1 for Windows.
- 6fe25c1358a2 11.0 landed
-
Fix some assorted compiler warnings on Windows.
- b2328bf62b64 11.0 landed
-
Clean up warnings from -Wimplicit-fallthrough.
- 41c912cad159 11.0 landed