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

From Tom Lane
Subject Re: Fix most -Wundef warnings
Date
Msg-id 10954.1570996619@sss.pgh.pa.us
Whole thread Raw
In response to Fix most -Wundef warnings  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> 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.

Looks reasonable offhand.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Fix most -Wundef warnings
Next
From: Justin Pryzby
Date:
Subject: Re: d25ea01275 and partitionwise join