[ https://issues.apache.org/jira/browse/THRIFT-2746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14156848#comment-14156848 ]
Hudson commented on THRIFT-2746: -------------------------------- FAILURE: Integrated in Thrift-Test #33 (See [https://builds.apache.org/job/Thrift-Test/33/]) THRIFT-2746: Replace C++11 code in IDL compiler (ra: rev ab3f848dec6fee43650c727014d165929b383e55) * compiler/cpp/src/generate/t_hs_generator.cc * compiler/cpp/src/generate/t_cpp_generator.cc THRIFT-2746: compiler/cpp/README.md updated (hcorg: rev 99b9e1d405c80059e9bf680081501bf729c33a74) * compiler/cpp/README.md > Compiler C++98 conformance > -------------------------- > > Key: THRIFT-2746 > URL: https://issues.apache.org/jira/browse/THRIFT-2746 > Project: Thrift > Issue Type: Sub-task > Components: C++ - Compiler, Haskell - Compiler > Affects Versions: 0.9.2 > Environment: all > Reporter: Randy Abernethy > Assignee: Randy Abernethy > Fix For: 0.9.2 > > Attachments: 0001-Thrift-Compiler-fixes-to-keep-code-C-98.patch, > readme_fix.patch > > > This is the piece of the CentOS 6.5 patch that cleans up the compiler build > errors due to C + + 11 code in the Haskell and C++ generators. > C + + 11 elements replaced: > - Ranged for loops: for ( auto x : container ) > - Type deduction: auto > - NULL assignment to boost::shared_ptr: replaced with .reset() > - Constructor initialization of boost::shared_ptr with 0: replaced with "" > - Nondeterministic compiler dependent for loop scoping: changed iterators > to inner scope -- This message was sent by Atlassian JIRA (v6.3.4#6332)