[Webkit-unassigned] [Bug 164207] New: -Wpragmas warning spam from angleutils.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 30 09:16:20 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=164207

            Bug ID: 164207
           Summary: -Wpragmas warning spam from angleutils.h
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: ANGLE
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: dino at apple.com

Seems angleutils.h has GCC pragmas to suppress GCC warnings that do not exist and have never existed:

[5/4010] Building CXX object Source/We...dParty/ANGLE/src/common/mathutil.cpp.o
In file included from ../../Source/ThirdParty/ANGLE/src/common/debug.h:16:0,
                 from ../../Source/ThirdParty/ANGLE/src/common/third_party/numerics/base/logging.h:11,
                 from ../../Source/ThirdParty/ANGLE/src/common/third_party/numerics/base/numerics/safe_math.h:13,
                 from ../../Source/ThirdParty/ANGLE/src/common/mathutil.h:19,
                 from ../../Source/ThirdParty/ANGLE/src/common/mathutil.cpp:9:
../../Source/ThirdParty/ANGLE/src/common/angleutils.h: In function ‘const char* MakeStaticString(const string&)’:
../../Source/ThirdParty/ANGLE/src/common/angleutils.h:120:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
 #pragma GCC diagnostic ignored "-Wexit-time-destructors"
                                ^~~~~~~~~~~~~~~~~~~~~~~~~
../../Source/ThirdParty/ANGLE/src/common/mathutil.cpp: At global scope:
../../Source/ThirdParty/ANGLE/src/common/mathutil.cpp:35:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
 #pragma GCC diagnostic ignored "-Wglobal-constructors"
                                ^~~~~~~~~~~~~~~~~~~~~~~

It prints about 100 times in a row since it's included in so many places.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161030/8326dc9b/attachment-0001.html>


More information about the webkit-unassigned mailing list