From 295ff31c39e4d4e5e40c7af56819321200b6b02d Mon Sep 17 00:00:00 2001 From: Joone Hur Date: Wed, 28 Aug 2013 16:07:25 -0700 Subject: [PATCH] Disable unused-local-typedefs and maybe-uninitialized warning in GCC 4.8 This patch fixes the webkit2-efl build problem caused by exceeding build log quota in OBS. https://bugs.tizen.org/jira/browse/TIVI-1683 Merged from http://trac.webkit.org/changeset/147640, http://trac.webkit.org/changeset/154381. --- Source/WTF/wtf/Compiler.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h index f40e15e..0a90602 100644 --- a/Source/WTF/wtf/Compiler.h +++ b/Source/WTF/wtf/Compiler.h @@ -122,6 +122,10 @@ /* 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 GCC_VERSION_AT_LEAST(4, 7, 0) && __cplusplus >= 201103L #define WTF_COMPILER_SUPPORTS_CXX_RVALUE_REFERENCES 1 #define WTF_COMPILER_SUPPORTS_CXX_DELETED_FUNCTIONS 1 -- 2.7.4