DRILL-6188: Fix C++ client build on Centos7, OS X

closes #1132


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/a3b0bf59
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/a3b0bf59
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/a3b0bf59

Branch: refs/heads/master
Commit: a3b0bf5970b6d84b29ce843af1fd5cacf62a13bd
Parents: 4089422
Author: Parth Chandra <par...@apache.org>
Authored: Tue Feb 27 17:31:51 2018 +0530
Committer: Arina Ielchiieva <arina.yelchiy...@gmail.com>
Committed: Sat Mar 3 19:47:45 2018 +0200

----------------------------------------------------------------------
 contrib/native/client/src/clientlib/drillClientImpl.hpp | 1 -
 contrib/native/client/src/clientlib/logger.hpp          | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/a3b0bf59/contrib/native/client/src/clientlib/drillClientImpl.hpp
----------------------------------------------------------------------
diff --git a/contrib/native/client/src/clientlib/drillClientImpl.hpp 
b/contrib/native/client/src/clientlib/drillClientImpl.hpp
index 2e7623e..541c41e 100644
--- a/contrib/native/client/src/clientlib/drillClientImpl.hpp
+++ b/contrib/native/client/src/clientlib/drillClientImpl.hpp
@@ -182,7 +182,6 @@ class DrillClientBaseHandle: public DrillClientQueryHandle {
     virtual status_t notifyListener(ListenerValue v, DrillClientError* pErr);
 
     virtual void signalError(DrillClientError* pErr);
-    void setHasError(bool hasError) { m_bHasError = hasError; }
 
     private:
     Listener m_pApplicationListener;

http://git-wip-us.apache.org/repos/asf/drill/blob/a3b0bf59/contrib/native/client/src/clientlib/logger.hpp
----------------------------------------------------------------------
diff --git a/contrib/native/client/src/clientlib/logger.hpp 
b/contrib/native/client/src/clientlib/logger.hpp
index 966e3a1..2eb98c0 100644
--- a/contrib/native/client/src/clientlib/logger.hpp
+++ b/contrib/native/client/src/clientlib/logger.hpp
@@ -19,6 +19,7 @@
 #ifndef __LOGGER_H
 #define __LOGGER_H
 
+#include <iostream>
 #include <sstream>
 #include <ostream>
 #include <iostream>

Reply via email to