You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Thomas Bartelmess (JIRA)" <ji...@apache.org> on 2013/11/15 23:45:20 UTC
[jira] [Commented] (THRIFT-2140) Error compiling cpp tutorials
[ https://issues.apache.org/jira/browse/THRIFT-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13824199#comment-13824199 ]
Thomas Bartelmess commented on THRIFT-2140:
-------------------------------------------
Bump, actually this prevents compiling from git on OS X.
> Error compiling cpp tutorials
> -----------------------------
>
> Key: THRIFT-2140
> URL: https://issues.apache.org/jira/browse/THRIFT-2140
> Project: Thrift
> Issue Type: Bug
> Components: Tutorial
> Affects Versions: 0.9.1
> Environment: GCC 4.8.1 Linux and GCC 4.8.0 Solaris 10
> Reporter: Chris Stylianou
> Assignee: Ben Craig
> Attachments: CppClient.patch, CppServer.patch
>
>
> Error details (several cases in CppServer.cpp and CppClient.cpp):
> {code}
> CppServer.cpp: In function 'int main(int, char**)':
> CppServer.cpp:116:3: error: reference to 'shared_ptr' is ambiguous
> {code}
> This is caused due to the inclusion of both 'std' and 'boost' namespaces, which both define 'shared_ptr'. Code expects the use of 'boost::shared_ptr'.
--
This message was sent by Atlassian JIRA
(v6.1#6144)