don't try to run the poly tests on gcc-4.9. they will fail.
[folly.git] / folly / Poly.h
index 218fbd8950e9924ce3f6a1e926c43c9cf993f865..6acac6826461223af938f2432d38bddc368122e9 100644 (file)
 
 #pragma once
 
+#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ < 5
+#error Folly.Poly requires gcc-5 or greater
+#endif
+
 #include <cassert>
 #include <new>
 #include <type_traits>