Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3817

Redeclaration of std::tuple

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.3
    • None
    • C++ - Library
    • None
    • Patch Available

    Description

      In /lib/cpp/src/thrift/cxxfunctional.h, the version of the functional header is picked based on the compiler. Gcc defaults to <tr1/functional>. This includes the <tr1/tuple> which causes a redeclaration error if the c++11 <tuple> has been used anywhere else.

      Thrift should default to using c++11 version of functional if the compiler supports it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kurt_8888 Kurt Johnson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: