Title: [158783] trunk/Source/WTF
- Revision
- 158783
- Author
- [email protected]
- Date
- 2013-11-06 13:39:17 -0800 (Wed, 06 Nov 2013)
Log Message
Disable "unused local typedefs" warning for GCC 4.7
https://bugs.webkit.org/show_bug.cgi?id=123913
Patch by Nick Diego Yamane <[email protected]> on 2013-11-06
Reviewed by Martin Robinson.
That warning was actually introduced in gcc 4.7.0.
See: http://gcc.gnu.org/gcc-4.7/changes.html
* wtf/Compiler.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (158782 => 158783)
--- trunk/Source/WTF/ChangeLog 2013-11-06 21:31:52 UTC (rev 158782)
+++ trunk/Source/WTF/ChangeLog 2013-11-06 21:39:17 UTC (rev 158783)
@@ -1,3 +1,15 @@
+2013-11-06 Nick Diego Yamane <[email protected]>
+
+ Disable "unused local typedefs" warning for GCC 4.7
+ https://bugs.webkit.org/show_bug.cgi?id=123913
+
+ Reviewed by Martin Robinson.
+
+ That warning was actually introduced in gcc 4.7.0.
+ See: http://gcc.gnu.org/gcc-4.7/changes.html
+
+ * wtf/Compiler.h:
+
2013-11-06 Daniel Bates <[email protected]>
Add ENABLE(TEXT_SELECTION)
Modified: trunk/Source/WTF/wtf/Compiler.h (158782 => 158783)
--- trunk/Source/WTF/wtf/Compiler.h 2013-11-06 21:31:52 UTC (rev 158782)
+++ trunk/Source/WTF/wtf/Compiler.h 2013-11-06 21:39:17 UTC (rev 158783)
@@ -120,7 +120,6 @@
/* Specific compiler features */
#if COMPILER(GCC) && !COMPILER(CLANG)
#if GCC_VERSION_AT_LEAST(4, 8, 0)
-#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
@@ -147,6 +146,7 @@
#define WTF_COMPILER_SUPPORTS_CXX_STRONG_ENUMS 1
#endif
#if GCC_VERSION_AT_LEAST(4, 7, 0)
+#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
#define WTF_COMPILER_SUPPORTS_CXX_OVERRIDE_CONTROL 1
#endif
#endif /* defined(__GXX_EXPERIMENTAL_CXX0X__) || (defined(__cplusplus) && __cplusplus >= 201103L) */
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes