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

Wilfred Spiegelenburg commented on THRIFT-2229:
-----------------------------------------------

base tar ball: 
http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.1/thrift-0.9.1.tar.gz
patch: for THRIFT-2201 applied
The patch THRIFT-2229.pacth leaves one error in the thrifty.yy unfixed.

thrifty.yy:982:45: error: invalid suffix on literal; C++11 requires a space 
between literal and identifier
      [-Wreserved-user-defined-literal]
          pwarning(1, "Nonpositive value (%"PRIi64") not allowed as a field 
key.\n",
                                            ^
1 error generated.

That line was changed as part of the original change that was uploaded for the 
file. The file 'thrifty.patch' contains the correct change.
If that is fixed the code will compile on Mac OS-X 10.9 if you add the 
CXXFLAGS="-std=c++11" option to your  ./configure command line

> 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)

Reply via email to