Namespace problem, compile fails on generated code --------------------------------------------------
Key: THRIFT-1487 URL: https://issues.apache.org/jira/browse/THRIFT-1487 Project: Thrift Issue Type: Bug Components: C++ - Compiler Affects Versions: 0.8 Environment: thrift 0.8.0 Reporter: Gasol Wu you can find build log at http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/a.7.20120107170754/php5-pdo_cassandra-0.2.1.log , and Thrift IDL file at https://github.com/mkoppanen/php-pdo_cassandra/blob/master/interface/cassandra.thrift this problem occurred after THRIFT-1275 commited, I'm not c++ guy, There are two solution i found to resolve this problem, 1. replace all prefix all namespace with "::" 2. avoid namespace conflict, change cpp namespace from "org.apache.cassandra" to "cassandra" in cassandra.thrift -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira