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

Ben Craig commented on THRIFT-2229:
-----------------------------------

The ThreadManager warning is legitimate.  That makes sense to me.

I'm still really confused on the error though.  Given the location of the 
error, you are in the CLANG branch of cxxfunctional.  That means that 
<functional> was included.  std::bind and std::function are supposed to come 
from <functional>.

Googling pointed me to this stackoverflow: 
http://stackoverflow.com/questions/17089273/no-member-named-bind-in-the-namespace-of-std-error
That person had an old version of Clang, but your initial gist output indicates 
that you are using xcode 5 (the newest right now), and the 10.9 SDK.

...

So looking at my own builds, it appears that I build for iOS with -std=gnu++11. 
 I wouldn't be surprised if the clang headers check for that before pulling in 
std::bind.  We may just need to change the mac clang builds to require C++11, 
because bind is used all over the place, and C++11 is the main place to find it 
with Clang.

> thrift failed to build on OSX 10.9 GM
> -------------------------------------
>
>                 Key: THRIFT-2229
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2229
>             Project: Thrift
>          Issue Type: Bug
>    Affects Versions: 0.9.1
>         Environment: Mac OSX 10.9 GM
>            Reporter: Guilherme Defreitas
>
> Gist with compilation errors: https://gist.github.com/guidefreitas/7012084



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to