[
https://issues.apache.org/jira/browse/DRILL-7727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vova Vysotskyi updated DRILL-7727:
----------------------------------
Labels: ready-to-commit (was: )
> 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
> Labels: ready-to-commit
>
> 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)