[ https://issues.apache.org/jira/browse/THRIFT-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier resolved THRIFT-2140. --------------------------------- Resolution: Fixed > 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)