Re: Fix most -Wundef warnings
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: pgsql-hackers@postgresql.org
Date: 2019-10-19T16:50:10Z
Lists: pgsql-hackers
On 2019-10-13 21:25, Peter Eisentraut wrote: > During the cleanup of the _MSC_VER versions (commit > 38d8dce61fff09daae0edb6bcdd42b0c7f10ebcd), I found it useful to use > -Wundef, but that resulted in a bunch of gratuitous warnings. Here is a > patch to fix those. Most of these are just stylistic cleanups, but the > change in pg_bswap.h is potentially useful to avoid misuse by > third-party extensions. committed -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Fix most -Wundef warnings
- 5d3587d14b75 13.0 landed
-
Remove some code for old unsupported versions of MSVC
- 38d8dce61fff 13.0 cited