Changeset 162126 in webkit
- Timestamp:
- Jan 16, 2014 7:06:45 AM (10 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r162086 r162126 1 2014-01-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com> 2 3 Require at least GCC version 4.7 4 https://bugs.webkit.org/show_bug.cgi?id=127049 5 6 Reviewed by Csaba Osztrogonác. 7 8 r161770 added a template alias, so the minimum GCC version is 4.7 now. 9 10 Also fixed a typo in the error message about old MSVC version. 11 12 * wtf/Compiler.h: 13 1 14 2014-01-15 Alberto Garcia <berto@igalia.com> 2 15 -
trunk/Source/WTF/wtf/Compiler.h
r161451 r162126 62 62 #if defined(_MSC_VER) 63 63 #if _MSC_VER < 1800 64 #error "Please use a newer version of Visual Studio. WebKit requires VS2013 or newer eto compile."64 #error "Please use a newer version of Visual Studio. WebKit requires VS2013 or newer to compile." 65 65 #endif 66 66 #define WTF_COMPILER_MSVC 1 … … 106 106 /* Specific compiler features */ 107 107 #if COMPILER(GCC) && !COMPILER(CLANG) 108 #if !GCC_VERSION_AT_LEAST(4, 7, 0) 109 #error "Please use a newer version of GCC. WebKit requires GCC 4.7.0 or newer to compile." 110 #endif 108 111 #if GCC_VERSION_AT_LEAST(4, 8, 0) 109 112 #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" … … 115 118 #if defined(__GXX_EXPERIMENTAL_CXX0X__) || (defined(__cplusplus) && __cplusplus >= 201103L) 116 119 /* C++11 support */ 117 #if GCC_VERSION_AT_LEAST(4, 3, 0)118 120 #define WTF_COMPILER_SUPPORTS_CXX_RVALUE_REFERENCES 1 119 121 #define WTF_COMPILER_SUPPORTS_CXX_STATIC_ASSERT 1 120 122 #define WTF_COMPILER_SUPPORTS_CXX_VARIADIC_TEMPLATES 1 121 123 #define WTF_COMPILER_SUPPORTS_CXX_AUTO_TYPE 1 122 #endif123 #if GCC_VERSION_AT_LEAST(4, 4, 0)124 124 #define WTF_COMPILER_SUPPORTS_CXX_DELETED_FUNCTIONS 1 125 #endif126 #if GCC_VERSION_AT_LEAST(4, 5, 0)127 125 #define WTF_COMPILER_SUPPORTS_CXX_EXPLICIT_CONVERSIONS 1 128 #endif129 #if GCC_VERSION_AT_LEAST(4, 6, 0)130 126 #define WTF_COMPILER_SUPPORTS_CXX_NULLPTR 1 131 127 /* Strong enums should work from gcc 4.4, but doesn't seem to support some operators */ 132 128 #define WTF_COMPILER_SUPPORTS_CXX_STRONG_ENUMS 1 133 #endif134 #if GCC_VERSION_AT_LEAST(4, 7, 0)135 129 #pragma GCC diagnostic ignored "-Wunused-local-typedefs" 136 130 #define WTF_COMPILER_SUPPORTS_CXX_OVERRIDE_CONTROL 1 137 #endif138 131 #endif /* defined(__GXX_EXPERIMENTAL_CXX0X__) || (defined(__cplusplus) && __cplusplus >= 201103L) */ 139 132 #endif /* COMPILER(GCC) */
Note: See TracChangeset
for help on using the changeset viewer.