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

Missing compile flag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 0.11.0
    • None
    • None

    Description

      While trying to build the following on ubuntu 16.04:

      1. cmake -DBUILD_COMPILER=ON -DBUILD_LIBRARIES=ON -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DWITH_CPP=ON -DWITH_BOOST_STATIC=ON -DWITH_STDTHREADS=ON ..

      the build dies on the following:

      In file included from /usr/include/c++/5/thread:35:0,
      from /tmp/thrift/lib/cpp/src/thrift/concurrency/Thread.h:32,
      from /tmp/thrift/lib/cpp/src/thrift/concurrency/ThreadManager.h:26,
      from /build_tmp/thrift/lib/cpp/src/thrift/concurrency/ThreadManager.cpp:22:
      /usr/include/c+/5/bits/c0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C+ 2011 standard. This support must be enabled with the -std=c+11 or -std=gnu+11 compiler options.
      #error This file requires compiler and library support
      [...]

      Attachments

        1. 0001-fix-build.patch
          0.7 kB
          Arnaud Lacombe

        Issue Links

          Activity

            People

              jking3 James E. King III
              alacombe Arnaud Lacombe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: