[packages/hiphop-php] smarter gcc version check
    glen 
    glen at pld-linux.org
       
    Sun Oct  6 16:13:34 CEST 2013
    
    
  
commit 3eed57eae530a9e68a7882e962dd34dd3ffa6972
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Oct 6 17:11:58 2013 +0300
    smarter gcc version check
 gcc4.8.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gcc4.8.patch b/gcc4.8.patch
index 9801cfe..ccdfb67 100644
--- a/gcc4.8.patch
+++ b/gcc4.8.patch
@@ -4,7 +4,7 @@
    uint64_t m_bits;
  };
  
-+#if 1
++#if defined(__GNUC__) && (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
 +static_assert(std::is_trivially_destructible<RegSet>::value,
 +              "RegSet must have a trivial destructor");
 +#else
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hiphop-php.git/commitdiff/456ede1d0dce4b52754924e87bdaf64cae5a3670
    
    
More information about the pld-cvs-commit
mailing list