[jira] [Assigned] (THRIFT-1748) Guard and RWGuard macros defined in global namespace

2012-11-07 Thread Roger Meier (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roger Meier reassigned THRIFT-1748: --- Assignee: Roger Meier > Guard and RWGuard macros defined in global namespace > -

[jira] [Resolved] (THRIFT-1748) Guard and RWGuard macros defined in global namespace

2012-11-07 Thread Roger Meier (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roger Meier resolved THRIFT-1748. - Resolution: Fixed global macros removed > Guard and RWGuard macros defined in g

Re: thrift/concurrency/Mutex.h bug

2012-11-07 Thread Bud Bundy
Thanks, I'd hate to patch this myself every release. https://issues.apache.org/jira/browse/THRIFT-1748 Oh and sorry, I couldn't find "attach" in JIRA, maybe I don't have permissions, so I had to post the code. On Wed, Nov 7, 2012 at 5:23 AM, Henrique Mendonça wrote: > Hi Bud, > > I wonder why we

[jira] [Commented] (THRIFT-1748) Guard and RWGuard macros defined in global namespace

2012-11-07 Thread Bud Bundy (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492455#comment-13492455 ] Bud Bundy commented on THRIFT-1748: --- {code} Index: Mutex.h

[jira] [Updated] (THRIFT-1748) Guard and RWGuard macros defined in global namespace

2012-11-07 Thread Bud Bundy (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bud Bundy updated THRIFT-1748: -- Labels: newbie patch (was: ) > Guard and RWGuard macros defined in global namespace > ---

[jira] [Created] (THRIFT-1748) Guard and RWGuard macros defined in global namespace

2012-11-07 Thread Bud Bundy (JIRA)
Bud Bundy created THRIFT-1748: - Summary: Guard and RWGuard macros defined in global namespace Key: THRIFT-1748 URL: https://issues.apache.org/jira/browse/THRIFT-1748 Project: Thrift Issue Type: B

Re: thrift/concurrency/Mutex.h bug

2012-11-07 Thread Ben Craig
I can sympathize with the author of the offending #defines, as I've seen the bug that he references a number of times. I think that "Guard" is too generic to #define away though. If only compilers would actually warn about the offending usage... From: Henrique Mendonça To: u...@thrif

Re: thrift/concurrency/Mutex.h bug

2012-11-07 Thread Henrique Mendonça
Hi Bud, I wonder why we are not using boost mutex and scoped mutex instead but those two macros are probably not necessary anyways. Would you create a patch and copy/adapt those comments to the thrift Mutex classes themselves? Thank you! http://thrift.apache.org/docs/HowToContribute/ Henrique On