[ 
https://issues.apache.org/jira/browse/THRIFT-3020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345841#comment-14345841
 ] 

Hudson commented on THRIFT-3020:
--------------------------------

SUCCESS: Integrated in Thrift #1469 (See 
[https://builds.apache.org/job/Thrift/1469/])
THRIFT-3020:Repair CPP11 init of member in TFramedTrans (ra: rev 
f702fed427b1bd5443ae11ab591e313c269ab5b6)
* lib/cpp/src/thrift/transport/TBufferTransports.h


> Cannot compile thrift as C++03
> ------------------------------
>
>                 Key: THRIFT-3020
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3020
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9.2
>         Environment: Visual Studio 2010
>            Reporter: Zachary Sims
>            Assignee: Randy Abernethy
>             Fix For: 0.9.3
>
>
> Thrift no longer compiles under C++03, given the recent fix for THRIFT-2937. 
> This is due to the way a field is initialized with a default value.
> The compilation error:
> {code}
> Error 1 error C2864: 
> 'apache::thrift::transport::TFramedTransport::maxFrameSize_' : only static 
> const integral data members can be initialized within a class 
> D:\dev\thrift\lib\cpp\src\thrift\transport\TBufferTransports.h 404 1 
> thrift_static
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to