[ 
https://issues.apache.org/jira/browse/DISPATCH-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17277472#comment-17277472
 ] 

ASF subversion and git services commented on DISPATCH-1929:
-----------------------------------------------------------

Commit a5b127e5569691e85395285e768013676fdd0795 in qpid-dispatch's branch 
refs/heads/master from Jiri Danek
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=a5b127e ]

DISPATCH-1929 Add QD_ENABLE_ASSERTIONS CMake option to turn on asserts

This is the way LLVM configures this. It allows turning on asserts
irrespective of the chosen CMAKE_BUILD_TYPE.


> 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
>            Assignee: Jiri Daněk
>            Priority: Major
>             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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to