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

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_r418728429



##########
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:
       I don't think this is quite true on C++ code, files can be regenerated 
with whatever version is present on the system (it's even explained on how to 
do it). Apart from bugfixes, I don't think there are incompatibilities 
introduced between protobuf minor versions.
   
   Currently I cannot validate windows build. If someone can do it quickly, I 
can sure change it, otherwise I'd prefer to get it addressed separately.




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

Reply via email to