[ https://issues.apache.org/jira/browse/THRIFT-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Lavoie closed THRIFT-817. ----------------------------------- Resolution: Fixed Code in head currently looks like this: {noformat} 132 // Can be used as second argument to RWGuard to make code more readable 133 // as to whether we're doing acquireRead() or acquireWrite(). 134 enum RWGuardType { 135 RW_READ = 0, 136 RW_WRITE = 1 137 }; {noformat} (numbers are line numbers) > Syntax Error in concurrency/Mutex.h > ----------------------------------- > > Key: THRIFT-817 > URL: https://issues.apache.org/jira/browse/THRIFT-817 > Project: Thrift > Issue Type: Bug > Affects Versions: 0.3 > Environment: all > Reporter: Doug Judd > Attachments: THRIFT-817.patch > > > 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, > }; -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.