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

Syntax Error in concurrency/Mutex.h

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3
    • None
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: