Chris Stylianou created THRIFT-2140:
---------------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to