-DDISABLE_ENABLE_ASSERT - Mailing list pgsql-hackers

From Andres Freund
Subject -DDISABLE_ENABLE_ASSERT
Date
Msg-id 20140522203124.GD31579@alap3.anarazel.de
Whole thread Raw
Responses Re: -DDISABLE_ENABLE_ASSERT
Re: -DDISABLE_ENABLE_ASSERT
List 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



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: uuid-ossp (Re: [pgsql-packagers] Postgresapp 9.4 beta build ready)
Next
From: Tom Lane
Date:
Subject: Re: -DDISABLE_ENABLE_ASSERT