[ https://issues.apache.org/jira/browse/DRILL-7727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17097027#comment-17097027 ]
ASF GitHub Bot commented on DRILL-7727: --------------------------------------- laurentgo opened a new pull request #2071: URL: https://github.com/apache/drill/pull/2071 ## Description Fix protobuf warning message about the use of ByteSize(), replaced with ByteSizeLong(). Also add a minimum version requirement to match what is described in the docs. ## Testing build on linux and macos ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Address Protobuf C++ warnings > ----------------------------- > > Key: DRILL-7727 > URL: https://issues.apache.org/jira/browse/DRILL-7727 > Project: Apache Drill > Issue Type: Test > Components: Client - C++ > Reporter: Laurent Goujon > Assignee: Laurent Goujon > Priority: Minor > > Compiling C++ client with recent versions of protobuf (3.4.0 or higher) > produces compilation warnings: > {noformat} > .../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") > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)