You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Zhanwei Wang (JIRA)" <ji...@apache.org> on 2016/03/30 15:40:25 UTC
[jira] [Commented] (HAWQ-608) libyarn hot refactor
[ https://issues.apache.org/jira/browse/HAWQ-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217975#comment-15217975 ]
Zhanwei Wang commented on HAWQ-608:
-----------------------------------
{{using namespace std}} should never be in libyarn.
{{rethrow_if_nested}} is a wrapper of std or boost implementation in case the compiler do not support C++11 features.
> libyarn hot refactor
> --------------------
>
> Key: HAWQ-608
> URL: https://issues.apache.org/jira/browse/HAWQ-608
> Project: Apache HAWQ
> Issue Type: Bug
> Components: libyarn
> Reporter: hongwu
> Assignee: Lei Chang
>
> I built libyarn under Ubuntu12.04 with gcc(4.7) and got `rethrow_if_nested is ambiguous to the compiler` building error.
> The bug results from the the name of inside defined function rethrow_if_nested conflict with std::rethrow_if_nested and code in libyarn use `using namespace std;`, it is terrible...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)