Skip to content

[C++] DCHECK macros conflicts with glog #46011

Description

@irshadcc

Describe the bug, including details regarding any error messages, version, and platform.

The DCHECK macros in logging.h are conflicting with glog's macro definition. This often causes compilation problems in the downstream dependencies.

DCHECKs in glog : https://github.com/google/glog/blob/master/src/glog/logging.h#L1081
DCHECKs in arrow : https://github.com/apache/arrow/blob/main/cpp/src/arrow/util/logging.h#L142

Component(s)

C++

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions