You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Mario Emmenlauer (Jira)" <ji...@apache.org> on 2021/09/01 12:05:00 UTC

[jira] [Closed] (THRIFT-5241) Make C++ library build on OS X and iOS

     [ https://issues.apache.org/jira/browse/THRIFT-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Emmenlauer closed THRIFT-5241.
------------------------------------

> Make C++ library build on OS X and iOS
> --------------------------------------
>
>                 Key: THRIFT-5241
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5241
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C++ - Library
>    Affects Versions: 0.9
>         Environment: Patch fixes OS X xcode 3.2 with gcc 4.2 toolchain.  Also fixes iOS xcode 4.4 with clang 4.0 toolchain.
>            Reporter: John Arthur Kleiven
>            Assignee: Mario Emmenlauer
>            Priority: Major
>              Labels: c++, ios, mac
>         Attachments: mac_and_ios.patch
>
>
> Various small issues keep the existing Thrift c++ libraries from building on OS X and iOS.  For example, in Clang, there is no <tr1/functional>, only a regular <functional>.  Instead of adding a new configure token and a million #ifdefs, the patch has added a wrapper header that throws the relevant <functional> symbols into the apache::thrift:stdcxx namespace.
> There are also several fixes for unused variable warnings in release mode.  I have added a helper macro to better document these cases (as opposed to just adding the mysterious "ret=ret;" everywhere).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)