You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Benjamin Kietzman (JIRA)" <ji...@apache.org> on 2019/02/09 03:09:00 UTC

[jira] [Created] (ARROW-4520) [C++] DCHECK custom messages are unreachable in release

Benjamin Kietzman created ARROW-4520:
----------------------------------------

             Summary: [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: Benjamin Kietzman
            Assignee: Benjamin Kietzman


For release builds, {{DCHECK(x) << y << z;}} currently expands to

{code}
((void)(x)); 
while (false) ::arrow::util::ArrowLogBase() << y << z;
{code}

This is unreachable and which is an error using clang-7



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)