Re: pgsql: Add noreturn attributes to some error reporting functions

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Add noreturn attributes to some error reporting functions
Дата
Msg-id 20130212121901.GA12852@alap2.anarazel.de
обсуждение исходный текст
Ответ на pgsql: Add noreturn attributes to some error reporting functions  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-committers
On 2013-02-12 12:14:06 +0000, Peter Eisentraut wrote:
> Add noreturn attributes to some error reporting functions

I wonder if its time to add a macro for this instead of slapping
__attribute__((noreturn)) everywhere. That way msvc had a chance of
adding __declspec(noreturn) or whatever its magic incatation is
transparently. And perhaps other compilers in the future.

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add noreturn attributes to some error reporting functions
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Create libpgcommon, and move pg_malloc et al to it