Re: Fix most -Wundef warnings - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Fix most -Wundef warnings
Date
Msg-id ef8808b2-c174-c9bc-6ada-9efd7f575305@2ndquadrant.com
Whole thread Raw
In response to Fix most -Wundef warnings  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List 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



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: configure fails for perl check on CentOS8
Next
From: Peter Eisentraut
Date:
Subject: Re: Fix most -Wundef warnings