[
https://issues.apache.org/jira/browse/ARROW-4665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661687#comment-17661687
]
Rok Mihevc commented on ARROW-4665:
-----------------------------------
This issue has been migrated to [issue
#21196|https://github.com/apache/arrow/issues/21196] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [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 Korn
> Priority: Major
> Fix For: 0.14.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
(v8.20.10#820010)