drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-6188) Fix C++ client build on Centos 7 and OSX
Date Wed, 28 Feb 2018 11:02:00 GMT

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

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

Github user arina-ielchiieva commented on the issue:

    https://github.com/apache/drill/pull/1132
  
    +1


> 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
>    Affects Versions: 1.12.0
>            Reporter: Parth Chandra
>            Assignee: Parth Chandra
>            Priority: Major
>              Labels: ready-to-commit
>             Fix For: 1.13.0
>
>
> 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)

Mime
View raw message