[
https://issues.apache.org/jira/browse/THRIFT-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Reiss resolved THRIFT-107.
--------------------------------
Resolution: Invalid
Use dots instead. "foo.bar" becomes the C++ namespace "foo::bar".
> Composite namespaces for C++ not allowed in .thrift file
> --------------------------------------------------------
>
> Key: THRIFT-107
> URL: https://issues.apache.org/jira/browse/THRIFT-107
> Project: Thrift
> Issue Type: Improvement
> Components: Compiler (C++)
> Environment: Linux
> svn revision 682458
> Reporter: Lukasz Osipiuk
> Priority: Minor
>
> thrift compiler does not allow user to define a cpp namespace which includes
> :: in its name.
> putting
> namespace cpp xx::yyy
> in input .thirft file will report an error
> [ERROR:/tmp/t.thrift:6] (last token was ':')
> syntax error
> [FAILURE:/tmp/t.thrift:6] Parser error during include pass.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.