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

Hans Duedal edited comment on THRIFT-2229 at 10/25/13 5:02 PM:
---------------------------------------------------------------

0.9.1 builds on OS 10.9 with the following CXXFLAGS "-std=c++11" exported to 
env.

Unfortunately enabling C++11 support means some other stuff breaks. These are 
the patches required to fix it: https://gist.github.com/duedal/7156317
(THRIFT-2201 among new stuff)

In case the changes are not obvious, the tutorial is obviously not fixed for 
C++11 in master, it includes both boost and std, and then uses shared_ptr 
without specifying which one. I switched to boost::shared_ptr.

The changes to thrifty.yy is to fix
{noformat}
src/thrifty.yy:664:42: error: invalid suffix on literal; C++11 requires a space 
between literal and identifier [-Wreserved-user-defined-literal]
        pwarning(1, "64-bit constant \"%"PRIi64"\" may not work in all 
languages.\n", (yyvsp[(1) - (1)].iconst));
{noformat}


was (Author: cypres):
0.9.1 builds on OS 10.9 with the following CXXFLAGS "-std=c++11" exported to 
env.

Unfortunately enabling C++11 support means some other stuff breaks. These are 
the patches required to fix it: https://gist.github.com/duedal/7156317
(THRIFT-2201 among new stuff)

> 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
>            Assignee: Ben Craig
>
> Gist with compilation errors: https://gist.github.com/guidefreitas/7012084



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

Reply via email to