You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Kurt Johnson (JIRA)" <ji...@apache.org> on 2016/05/05 15:10:14 UTC
[jira] [Commented] (THRIFT-3817) Redeclaration of std::tuple
[ https://issues.apache.org/jira/browse/THRIFT-3817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15272492#comment-15272492 ]
Kurt Johnson commented on THRIFT-3817:
--------------------------------------
I have a patch file available but I'm unable to find a way of uploading it.
> Redeclaration of std::tuple
> ----------------------------
>
> Key: THRIFT-3817
> URL: https://issues.apache.org/jira/browse/THRIFT-3817
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.9.3
> Reporter: Kurt Johnson
>
> In /lib/cpp/src/thrift/cxxfunctional.h, the version of the functional header is picked based on the compiler. Gcc defaults to <tr1/functional>. This includes the <tr1/tuple> which causes a redeclaration error if the c++11 <tuple> has been used anywhere else.
> Thrift should default to using c++11 version of functional if the compiler supports it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)