-DDISABLE_ENABLE_ASSERT

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: -DDISABLE_ENABLE_ASSERT
Date: 2014-05-22 20:31:24
Message-ID: 20140522203124.GD31579@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Since there seem to be multiple static checkers (coverity, clang
checker) having problems with assert_enabled can we just optionally
disable it?
I am thinking of replacing it by a AssertionsEnabled() macro which then
is unconditionally defined when DISABLE_ENABLE_ASSERT is defined.

Greetings,

Andres Freund

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-05-22 20:37:35 Re: -DDISABLE_ENABLE_ASSERT
Previous Message Robert Haas 2014-05-22 20:06:10 Re: uuid-ossp (Re: [pgsql-packagers] Postgresapp 9.4 beta build ready)