[
https://issues.apache.org/jira/browse/THRIFT-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679905#comment-13679905
]
Randy Abernethy commented on THRIFT-1458:
-----------------------------------------
Picking up from Ben's comment here:
https://issues.apache.org/jira/browse/THRIFT-1753?focusedCommentId=13679496&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13679496
I like the idea. Taking a fresh cut would certainly allow more latitude to
really improve things using the full C++11 feature set. Also guarantees
existing users are not disturbed. Makes the additional testing burden explicit
(which is probably good). On the down side, future C++ patches will need to be
duplicated with tweaks for the two branches. Given that C++98 is likely to be
important for some time to come this last point is worth considering carefully.
> use the C++ standard (c++0x or later c++11) to improve code quality and cross
> platform capability
> -------------------------------------------------------------------------------------------------
>
> Key: THRIFT-1458
> URL: https://issues.apache.org/jira/browse/THRIFT-1458
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Compiler, C++ - Library
> Environment: gcc, llvm, visualstudio
> Reporter: Roger Meier
> Assignee: Roger Meier
>
> 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
> * http://gcc.gnu.org/projects/cxx0x.html
> * http://clang.llvm.org/cxx_status.html
> *
> http://blogs.msdn.com/b/vcblog/archive/2010/04/06/c-0x-core-language-features-in-vc10-the-table.aspx
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira