[ https://issues.apache.org/jira/browse/ARROW-4520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661542#comment-17661542 ]
Rok Mihevc commented on ARROW-4520: ----------------------------------- This issue has been migrated to [issue #15968|https://github.com/apache/arrow/issues/15968] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [C++] DCHECK custom messages are unreachable in release > ------------------------------------------------------- > > Key: ARROW-4520 > URL: https://issues.apache.org/jira/browse/ARROW-4520 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Reporter: Ben Kietzman > Assignee: Ben Kietzman > Priority: Major > Labels: pull-request-available > Time Spent: 9h 20m > Remaining Estimate: 0h > > For release builds, {{DCHECK( x ) << y << z;}} currently expands to > {code} > ((void)(x)); > while (false) ::arrow::util::ArrowLogBase() << y << z; > {code} > This is unreachable which is an error using clang-7 -- This message was sent by Atlassian Jira (v8.20.10#820010)