[
https://issues.apache.org/jira/browse/THRIFT-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829110#comment-13829110
]
Joseph Baylon commented on THRIFT-2229:
---------------------------------------
I added this to my .bash_profile
export CXXFLAGS="-std=c++11"
But now I'm getting this error
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in compiler/cpp
/Library/Developer/CommandLineTools/usr/bin/make all-am
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift -I./src -Wall
-std=c++11 -MT thrift-t_java_generator.o -MD -MP -MF
.deps/thrift-t_java_generator.Tpo -c -o thrift-t_java_generator.o `test -f
'src/generate/t_java_generator.cc' || echo './'`src/generate/t_java_generator.cc
src/generate/t_java_generator.cc:2830:14: error: incompatible operand types
('bool' and 'basic_ostream<char, std::__1::char_traits<char> >')
first ? first = false : indent(f_service_) << "else ";
^ ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [thrift-t_java_generator.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
> 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
> Components: Build Process
> Affects Versions: 0.9.1
> Environment: Mac OSX 10.9 GM
> Reporter: Guilherme Defreitas
> Assignee: Roger Meier
> Attachments: THRIFT-2229.patch, cpp-tutorial.patch, thrifty.patch
>
>
> Gist with compilation errors: https://gist.github.com/guidefreitas/7012084
--
This message was sent by Atlassian JIRA
(v6.1#6144)