Fix most -Wundef warnings - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Fix most -Wundef warnings
Date
Msg-id 3b615ca5-c595-3f1d-fdf7-a429e564f614@2ndquadrant.com
Whole thread Raw
Responses Re: Fix most -Wundef warnings
Re: Fix most -Wundef warnings
Re: Fix most -Wundef warnings
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: v12.0: segfault in reindex CONCURRENTLY
Next
From: Tom Lane
Date:
Subject: Re: Fix most -Wundef warnings