Re: elog/ereport noreturn decoration - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: elog/ereport noreturn decoration
Date
Msg-id CAEYLb_VLRodPyzMnPWz7U9WXJQvOOW399pr9RBhWue1tet28Rg@mail.gmail.com
Whole thread Raw
In response to Re: elog/ereport noreturn decoration  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Edson Richter
Date:
Subject: Can someone help me to get ODBC fdw running on windows?
Next
From: Alex Hunsaker
Date:
Subject: Re: Support for array_remove and array_replace functions