Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4665

[C++] With glog activated, DCHECK macros are redefined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • 0.14.0
    • C++
    • None

    Description

      When building with glog, I get errors that the DCHECK_* macros are redefined:

      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)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            uwe Uwe Korn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: