[
https://issues.apache.org/jira/browse/THRIFT-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968459#comment-13968459
]
Mauro Maggi edited comment on THRIFT-2467 at 4/14/14 4:01 PM:
--------------------------------------------------------------
I've tried with exporting {{CXXFLAGS="-std=c\+\+11"}} and
{{LDFLAGS="-stdlib=libc\+\+"}} but to no avail
clang reports:
{quote}Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix{quote}
And yes, the problem lies within contrib/fb303. Thrift builds fine.
was (Author: maurotdo):
I've tried with exporting {{CXXFLAGS="-std=c\+\+11"}} and
{{LDFLAGS="-stdlib=libc\+\+"}} but to no avail
clang reports:
{quote}Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix{quote}
> 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)