Uwe L. Korn created ARROW-4665:
----------------------------------
Summary: [C++] With glog activated, DCHECK macros are redefined
Key: ARROW-4665
URL: https://issues.apache.org/jira/browse/ARROW-4665
Project: Apache Arrow
Issue Type: Bug
Components: C++
Reporter: Uwe L. Korn
Fix For: 0.13.0
When building with {{glog}}, I get errors that the {{DCHECK_*}} macros are
redefined:
{code}
In file included from /arrow/cpp/src/arrow/util/logging.cc:27:
glog_ep-prefix/src/glog_ep/include/glog/logging.h:996: error: "DCHECK"
redefined [-Werror]
#define DCHECK(condition) CHECK(condition)
In file included from /arrow/cpp/src/arrow/util/logging.cc:18:
/arrow/cpp/src/arrow/util/logging.h:112: note: this is the location of the
previous definition
#define DCHECK(condition) ARROW_CHECK(condition)
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)