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

use the C++ standard (c++0x or later c++11) to improve code quality and cross platform capability

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      gcc, llvm, visualstudio

      Description

      The goal is improvment of code quality and cross platform capability.

      I did several test on Debian Squeeze with default packages of gcc(4.4.5) and clang(2.7)

      Thrift Compiler only
      sh bootstrap.sh ; ./configure --without-cpp --without-csharp --without-java --without-erlang --without-python --without-perl --without-php --without-php_extension --without-ruby --without-haskell

      CXX=g++
      => ok
      CXX=g++ CXXFLAGS='-std=c++0x'
      => ok

      CXX=clang++
      => ok
      CXX=clang++ CXXFLAGS='-std=c++0x'
      => fail

      Thrift C++ Library
      sh bootstrap.sh ; ./configure --without-csharp --without-java --without-erlang --without-python --without-perl --without-php --without-php_extension --without-ruby --without-haskell

      CXX=clang++
      => fail
      CXX=clang++ CXXFLAGS='-std=c++0x'
      => fail

      CXX=g++
      => ok
      CXX=g++ CXXFLAGS='-std=c++0x'
      => ok (since THRIFT-1459)

      further info on supported features

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                roger Roger Meier
                Reporter:
                roger Roger Meier
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: