Index: Source/wtf/Compiler.h |
diff --git a/Source/wtf/Compiler.h b/Source/wtf/Compiler.h |
index fd07d9fa061f99238680dbc7638991039df494ac..8656a79760240dc13053ac86a80363ddf7dcc050 100644 |
--- a/Source/wtf/Compiler.h |
+++ b/Source/wtf/Compiler.h |
@@ -47,8 +47,6 @@ |
#define WTF_COMPILER_SUPPORTS_CXX_EXPLICIT_CONVERSIONS __has_feature(cxx_explicit_conversions) |
#define WTF_COMPILER_SUPPORTS_BLOCKS __has_feature(blocks) |
-#define WTF_COMPILER_SUPPORTS_C_STATIC_ASSERT __has_extension(c_static_assert) |
-#define WTF_COMPILER_SUPPORTS_CXX_STATIC_ASSERT __has_extension(cxx_static_assert) |
#define WTF_COMPILER_SUPPORTS_HAS_TRIVIAL_DESTRUCTOR __has_extension(has_trivial_destructor) |
#endif |
@@ -74,19 +72,9 @@ |
/* Specific compiler features */ |
#if COMPILER(GCC) && !COMPILER(CLANG) |
Nico
2014/12/15 22:41:21
Maybe the !CLANG isn't needed anymore? (not for th
Mostyn Bramley-Moore
2014/12/15 23:06:17
Acknowledged. I will test it and submit another C
|
-#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L |
-/* C11 support */ |
-#define WTF_COMPILER_SUPPORTS_C_STATIC_ASSERT 1 |
-#endif |
-#if defined(__GXX_EXPERIMENTAL_CXX0X__) || (defined(__cplusplus) && __cplusplus >= 201103L) |
-/* C++11 support */ |
-#if GCC_VERSION_AT_LEAST(4, 3, 0) |
-#define WTF_COMPILER_SUPPORTS_CXX_STATIC_ASSERT 1 |
-#endif |
#if GCC_VERSION_AT_LEAST(4, 5, 0) |
Nico
2014/12/15 22:41:21
We require gcc 4.8, you can remove this check too
Mostyn Bramley-Moore
2014/12/15 23:06:17
Done.
|
#define WTF_COMPILER_SUPPORTS_CXX_EXPLICIT_CONVERSIONS 1 |
#endif |
-#endif /* defined(__GXX_EXPERIMENTAL_CXX0X__) || (defined(__cplusplus) && __cplusplus >= 201103L) */ |
#endif /* COMPILER(GCC) */ |
/* ==== Compiler features ==== */ |