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

Cannot compile thrift as C++03

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.2
    • 0.9.3
    • C++ - Library
    • None
    • Visual Studio 2010

    Description

      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:

      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
      

      Attachments

        Activity

          People

            codesf Randy Abernethy
            zsims Zachary Sims
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: