[
https://issues.apache.org/jira/browse/THRIFT-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13799279#comment-13799279
]
Chris Stylianou commented on THRIFT-2140:
-----------------------------------------
*bump*
> 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
> 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)