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

Syntax Error in concurrency/Mutex.h

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      all

      Description

      I installed Thrift 0.3.0. When I compile my app, I get the following error:

      /usr/local/include/thrift/concurrency/Mutex.h:136: error: comma at end of
      enumerator list

      Looking into this file, there is an extraneous trailing comma:

      enum RWGuardType {
      RW_READ = 0,
      RW_WRITE = 1,
      };

        Attachments

        1. THRIFT-817.patch
          0.4 kB
          noomerikal

          Activity

            People

            • Assignee:
              roger Roger Meier
              Reporter:
              nuggetwheat Doug Judd
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: