Re: Fix most -Wundef warnings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix most -Wundef warnings
Дата
Msg-id 10954.1570996619@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fix most -Wundef warnings  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Fix most -Wundef warnings
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: d25ea01275 and partitionwise join