Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-470

Thrift 0.9.3 cannot be used in conjunction with googletest and C++11 on Linux

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • parquet-cpp
    • None

    Description

      Thrift 0.9.3 introduces a #include <thrift/cxxfunctional.h> include which causes tr1/functional to be included, causing a compiler conflict with googletest, which has its own portability macros surrounding its use of std::tr1::tuple. I spent a bunch of time twiddling compiler flags to try to resolve this conflict, but wasn't able to figure it out.

      If this is a Thrift bug, we should report it to Thrift. If it's fixable by compiler flags, then we should figure that out and track the issue here, otherwise users with the latest version of Thrift will be unable to compile the parquet-cpp test suite.

      Attachments

        Activity

          People

            wesm Wes McKinney
            wesm Wes McKinney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: