You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2021/01/22 17:46:00 UTC

[jira] [Created] (DISPATCH-1929) Allow producing a release build with asserts enabled

Jiri Daněk created DISPATCH-1929:
------------------------------------

             Summary: Allow producing a release build with asserts enabled
                 Key: DISPATCH-1929
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1929
             Project: Qpid Dispatch
          Issue Type: New Feature
    Affects Versions: 1.14.0
            Reporter: Jiri Daněk
             Fix For: 1.16.0


The Clang compiler has a CMake option which enables asserts in C code in any build type, including ReleaseWithDebugInfo, etc. This seems like an useful thing to have.

Coverity warns about assert calls with side effects, so enabling asserts all the time should be safe (Coverity would scream if it had any effects on functionality).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org