]> git.pld-linux.org Git - packages/hhvm.git/commitdiff
smarter gcc version check
authorElan Ruusamäe <glen@delfi.ee>
Sun, 6 Oct 2013 14:11:58 +0000 (17:11 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 6 Oct 2013 14:11:58 +0000 (17:11 +0300)
gcc4.8.patch

index 9801cfed6a527c83b2ca5446719e3d866e187fd2..ccdfb6737a4a4cdfb9d4e726c08d160664fbd52a 100644 (file)
@@ -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
This page took 0.116734 seconds and 4 git commands to generate.