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

error: expected identifier before ‘;’ token

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.9
    • None
    • C++ - Compiler
    • Patch Available

    Description

      If the .thrift file contains no namespace the cpp generator
      creates a:

      using namespace ;

      line. This does not compile.

      Attachments

        1. ns2.patch
          1 kB
          Martin Vogt

        Activity

          People

            roger Roger Meier
            mvogt1 Martin Vogt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: