Re: Further news on Clang - spurious warnings

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Further news on Clang - spurious warnings
Дата
Msg-id CAEYLb_WauZ_GNfxqbfxfGh_Hqdmani5iLA52=HJgS5ENa84tNQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Further news on Clang - spurious warnings  (Peter Geoghegan <peter@2ndquadrant.com>)
Список pgsql-hackers
It occurred to me that you may be a little surprised that the patch
actually prevents the warning from occurring. If you have any doubts,
I can assure you that it does. Clang differentiates between 0 as an
rvalue, 0 from an enum literal and 0 resulting from evaluating a macro
expression (including a function-like macro with deep nesting).

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgbench internal contention
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Further news on Clang - spurious warnings