Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
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
Attachments
Issue Links
- is duplicated by
-
THRIFT-2022 CoB and dense code generation still uses TR1 bind, even though that doesn't work with clang
- Closed
- is related to
-
THRIFT-1462 add more strict compiler flags
- Closed
1.
|
declare shared_ptr as boost::shared_ptr | Closed | Roger Meier | |
2.
|
add more strict compiler flags | Closed | Roger Meier |