You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2019/02/22 16:20:00 UTC
[jira] [Created] (ARROW-4665) [C++] With glog activated, DCHECK
macros are redefined
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)