public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/zthread/files: zthread-2.3.2-gcc47.patch
@ 2012-06-23 11:48 Kacper Kowalik (xarthisius)
  0 siblings, 0 replies; only message in thread
From: Kacper Kowalik (xarthisius) @ 2012-06-23 11:48 UTC (permalink / raw
  To: gentoo-commits

xarthisius    12/06/23 11:48:56

  Added:                zthread-2.3.2-gcc47.patch
  Log:
  Fix building with gcc4.7 wrt #414133 by David Kredba <nheghathivhistha@gmail.com>
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-libs/zthread/files/zthread-2.3.2-gcc47.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/zthread/files/zthread-2.3.2-gcc47.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/zthread/files/zthread-2.3.2-gcc47.patch?rev=1.1&content-type=text/plain

Index: zthread-2.3.2-gcc47.patch
===================================================================
Description: Make sure to use qualified lookups.
http://bugs.debian.org/667430
https://bugs.gentoo.org/show_bug.cgi?id=414133

Author: Cyril Brulebois <kibi@debian.org>
--- a/include/zthread/Guard.h
+++ b/include/zthread/Guard.h
@@ -428,7 +428,7 @@
   template <class U, class V>
   Guard(Guard<U, V>& g) : LockHolder<LockType>(g) {
 
-    LockingPolicy::shareScope(*this, extract(g));
+    LockingPolicy::shareScope(*this, this->extract(g));
     
   }
 
@@ -458,7 +458,7 @@
   template <class U, class V>
   Guard(Guard<U, V>& g, LockType& lock) : LockHolder<LockType>(lock) {
 
-    LockingPolicy::transferScope(*this, extract(g));
+    LockingPolicy::transferScope(*this, this->extract(g));
 
   }
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-23 11:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-23 11:48 [gentoo-commits] gentoo-x86 commit in dev-libs/zthread/files: zthread-2.3.2-gcc47.patch Kacper Kowalik (xarthisius)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox