Jiri Daněk created PROTON-2331:
----------------------------------

             Summary: Allow producing a RelWithDebInfo build with asserts 
enabled
                 Key: PROTON-2331
                 URL: https://issues.apache.org/jira/browse/PROTON-2331
             Project: Qpid Proton
          Issue Type: Improvement
          Components: build, proton-c
    Affects Versions: proton-c-0.33.0
            Reporter: Jiri Daněk
            Assignee: Jiri Daněk


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

It can reduce number of builds needed in CI (we don't have a Debug build for 
MacOS now). Some bugs may only manifest in Release builds. Sanitizers run 
faster on Release builds.

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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to