Fix most -Wundef warnings

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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: v12.0: segfault in reindex CONCURRENTLY
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fix most -Wundef warnings