Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7727

Address Protobuf C++ warnings

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Client - C++

    Description

      Compiling C++ client with recent versions of protobuf (3.4.0 or higher) produces compilation warnings:

      .../drill/contrib/native/client/src/clientlib/rpcMessage.cpp:208:32: warning: 'ByteSize' is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations]
          int header_length = header.ByteSize();
                                     ^
      /usr/local/include/google/protobuf/message_lite.h:401:3: note: 'ByteSize' has been explicitly marked deprecated here
        PROTOBUF_DEPRECATED_MSG("Please use ByteSizeLong() instead")
      

      Attachments

        Activity

          People

            laurent Laurent Goujon
            laurent Laurent Goujon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: