Re: elog/ereport noreturn decoration

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: elog/ereport noreturn decoration
Дата
Msg-id CAEYLb_VLRodPyzMnPWz7U9WXJQvOOW399pr9RBhWue1tet28Rg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: elog/ereport noreturn decoration  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 29 June 2012 22:35, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> IOW I am not on board with reducing
> the number of warnings in clang by increasing the number everywhere
> else.

I successfully lobbied the Clang developers to remove some warnings
that came from certain sites where we use a single element array at
the end of a struct as pseudo flexible arrays (Clang tried to do
compile-time bounds checking, with predictable results). Now, I had to
make a nuisance of myself in order to get that result, but you might
consider trying that.

I have been using the Clang static analyser some. I've seen all those
false positives. The greater problem is that the analyser apparently
won't work across translation units.

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


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

Предыдущее
От: Edson Richter
Дата:
Сообщение: Can someone help me to get ODBC fdw running on windows?
Следующее
От: Alex Hunsaker
Дата:
Сообщение: Re: Support for array_remove and array_replace functions