[ 
https://issues.apache.org/jira/browse/DRILL-7727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17099140#comment-17099140
 ] 

ASF GitHub Bot commented on DRILL-7727:
---------------------------------------

laurentgo commented on a change in pull request #2071:
URL: https://github.com/apache/drill/pull/2071#discussion_r419589392



##########
File path: contrib/native/client/CMakeLists.txt
##########
@@ -25,6 +25,13 @@ cmake_policy(SET CMP0043 NEW)
 cmake_policy(SET CMP0048 NEW)
 enable_testing()
 
+#
+# required version for dependencies
+#
+set (BOOST_MINIMUM_VERSION 1.54.0)
+set (PROTOBUF_MINIMUM_VERSION 3.6.1)

Review comment:
       Looks like regenerating with the correct version present on the user 
machine would be enough to fix the issue, but Drill has protobuf generated 
classes merged into code base instead of having those generated on the fly (not 
sure if people would be willing to revisit this? protoc compilers are now 
available in maven central, so you don't need to have installed on the system 
to build the java code).




----------------------------------------------------------------
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:
[email protected]


> 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)

Reply via email to