You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Laurent Goujon (Jira)" <ji...@apache.org> on 2020/04/30 22:02:00 UTC
[jira] [Created] (DRILL-7727) Address Protobuf C++ warnings
Laurent Goujon created DRILL-7727:
-------------------------------------
Summary: 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
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)