[ 
https://issues.apache.org/jira/browse/THRIFT-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Meier resolved THRIFT-1487.
---------------------------------
    Resolution: Cannot Reproduce

this is very old, please reopen or create a new issue

> 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. prefix all namespace with "::"
> 2. avoid namespace conflict, change cpp namespace from "org.apache.cassandra" 
> to "cassandra" in cassandra.thrift



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to