Re: pgsql: Add noreturn attributes to some error reporting functions - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: Add noreturn attributes to some error reporting functions
Date
Msg-id 20130212121901.GA12852@alap2.anarazel.de
Whole thread Raw
In response to pgsql: Add noreturn attributes to some error reporting functions  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Add noreturn attributes to some error reporting functions
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Create libpgcommon, and move pg_malloc et al to it