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)

Reply via email to