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-13T19:25:59Z
Lists: pgsql-hackers
Attachments
- 0001-Fix-most-Wundef-warnings.patch (text/plain) patch 0001
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. -- 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