Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-107

Composite namespaces for C++ not allowed in .thrift file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • C++ - Compiler
    • None
    • Linux
      svn revision 682458

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            losipiuk Lukasz Osipiuk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: