thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King III (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-3817) Redeclaration of std::tuple
Date Mon, 07 Jan 2019 13:20:00 GMT

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

James E. King III commented on THRIFT-3817:
-------------------------------------------

May no longer be an issue with the commit of THRIFT-4720.

> Redeclaration of std::tuple 
> ----------------------------
>
>                 Key: THRIFT-3817
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3817
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9.3
>            Reporter: Kurt Johnson
>            Priority: Major
>
> 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
(v7.6.3#76005)

Mime
View raw message