UNCONFIRMED 119572
warning: "__GNU_C_MINOR__" is not defined in 2.0.4
https://bugs.webkit.org/show_bug.cgi?id=119572
Summary warning: "__GNU_C_MINOR__" is not defined in 2.0.4
richard
Reported 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"
Attachments
Zan Dobersek
Comment 1 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.
Note You need to log in before you can comment on or make changes to this bug.