[
https://issues.apache.org/jira/browse/THRIFT-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jake Farrell closed THRIFT-2467.
--------------------------------
Resolution: Fixed
Committed to trunk, updated fb303 build to use ax_cxx macros and add std cflags
if available, on OS X build now shows
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
> Unable to build contrib/fb303 on OSX 10.9.2
> -------------------------------------------
>
> Key: THRIFT-2467
> URL: https://issues.apache.org/jira/browse/THRIFT-2467
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (General)
> Affects Versions: 0.9.2, 1.0
> Environment: Mac OSX 10.9.2 64bit
> Reporter: Mauro Maggi
> Assignee: Jake Farrell
> Fix For: 0.9.2
>
>
> Compiling (on master) the contrib module contrib/fb303 fails with:
> {quote}In file included from gen-cpp/fb303_types.h:15:
> /usr/local/include/thrift/cxxfunctional.h:93:18: error: no member named
> 'bind' in namespace 'std'; did you mean 'find'?
> using ::std::bind;
> ~~~~~~~^
> /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:843:1:
> note: 'find' declared here
> find(_InputIterator __first, _InputIterator __last, const _Tp&
> __value_){quote}
--
This message was sent by Atlassian JIRA
(v6.2#6252)