You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2018/02/27 11:47:00 UTC
[jira] [Created] (DRILL-6188) Fix C++ client build on Centos 7 and
OSX
Parth Chandra created DRILL-6188:
------------------------------------
Summary: Fix C++ client build on Centos 7 and OSX
Key: DRILL-6188
URL: https://issues.apache.org/jira/browse/DRILL-6188
Project: Apache Drill
Issue Type: Bug
Reporter: Parth Chandra
compile issue on CentOS 7:
{quote}In file included from /root/default/private-drill/contrib/native/client/src/clientlib/utils.cpp:22:0:
/root/default/private-drill/contrib/native/client/src/clientlib/logger.hpp: In constructor 'Drill::Logger::Logger()':
/root/default/private-drill/contrib/native/client/src/clientlib/logger.hpp:38:29: error: 'cout' is not a member of 'std'
m_pOutStream = &std::cout;
^
make[2]: *** [src/clientlib/CMakeFiles/drillClient.dir/utils.cpp.o] Error 1
make[1]: *** [src/clientlib/CMakeFiles/drillClient.dir/all] Error 2
make: *** [all] Error 2
{quote}
OSX - has this compile error:
{quote}In file included from /Users/mapr/private-drill/contrib/native/client/src/clientlib/drillClientImpl.cpp:34:
/Users/mapr/private-drill/contrib/native/client/src/clientlib/drillClientImpl.hpp:185:39: error: 'm_bHasError' is a private member of 'Drill::DrillClientQueryHandle'
void setHasError(bool hasError)
Unknown macro: \{ m_bHasError = hasError; }
^
/Users/mapr/private-drill/contrib/native/client/src/clientlib/drillClientImpl.hpp:158:10: note: declared private here
bool m_bHasError;
^
{quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)