voyageur    15/06/29 11:58:05

  Added:                llvm-3.5.2-gcc-5.1.patch
  Log:
  Fix compilation with gcc 5.1, bug #550716 (3.6 and later include the fix)
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
00F7AB331B0F097F)

Revision  Changes    Path
1.1                  sys-devel/llvm/files/llvm-3.5.2-gcc-5.1.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/files/llvm-3.5.2-gcc-5.1.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/files/llvm-3.5.2-gcc-5.1.patch?rev=1.1&content-type=text/plain

Index: llvm-3.5.2-gcc-5.1.patch
===================================================================
Index: include/llvm/ADT/IntrusiveRefCntPtr.h
===================================================================
--- include/llvm/ADT/IntrusiveRefCntPtr.h       (revision 218294)
+++ include/llvm/ADT/IntrusiveRefCntPtr.h       (revision 218295)
@@ -197,6 +197,9 @@
   private:
     void retain() { if (Obj) IntrusiveRefCntPtrInfo<T>::retain(Obj); }
     void release() { if (Obj) IntrusiveRefCntPtrInfo<T>::release(Obj); }
+
+    template <typename X>
+    friend class IntrusiveRefCntPtr;
   };
 
   template<class T, class U>




Reply via email to