Bug 119572 - warning: "__GNU_C_MINOR__" is not defined in 2.0.4
Summary: warning: "__GNU_C_MINOR__" is not defined in 2.0.4
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-08 05:24 PDT by richard
Modified: 2017-03-11 10:56 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description richard 2013-08-08 05:24:58 PDT
patch submission:

--- Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp.orig	2013-07-19 07:03:53.000000000 +0000
+++ Source/ThirdParty/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp
@@ -118,7 +118,7 @@
 // Turn off uninitialized variable warnings triggered by the auto-generated pplval variable.
 // On gcc 4.7+, The flag is called "-Wmaybe-uninitialized".
 // On clang and gcc < 4.7, the flag is called "-Wuninitialized".
-#if !defined(__clang__) && ((__GNUC__ == 4 && __GNU_C_MINOR__ >= 7) || __GNUC__ >= 5)
+#if !defined(__clang__) && ((__GNUC__ == 4 && __GNUC_MINOR__ >= 7) || __GNUC__ >= 5)
 #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
 #else
 #pragma GCC diagnostic ignored "-Wuninitialized"
Comment 1 Zan Dobersek 2013-08-08 06:02:34 PDT
The patch looks good, though it still requires a changelog - see the following page on how to add it and what it should contain:
http://www.webkit.org/coding/contributing.html

The issue is already fixed in trunk as the ANGLE sources were recently updated, fixing the mistake.