Fix a bunch of compiler warnings
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 May 2019 18:03:56 +0000 (18:03 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 May 2019 18:03:56 +0000 (18:03 +0000)
commit666617a5db2e3c81aa01318b6fa3d64e9bb7f798
tree4c3edbe5fb130225ebd25546cc5ab4b67e368c5e
parentf077d9e430fe626e19349c50be1d96a1ea020f8a
Fix a bunch of compiler warnings
https://bugs.webkit.org/show_bug.cgi?id=197785

Reviewed by Don Olmstead.

Source/ThirdParty/ANGLE:

Add compiler flags to suppress various warnings triggered by the new version of ANGLE.

* CMakeLists.txt:

Source/WebCore:

* CMakeLists.txt: WebCoreTestSupport should accept extra SYSTEM includes.
* PlatformGTK.cmake: GTK includes should be added to SYSTEM headers to avoid warnings.
* inspector/InspectorCanvas.cpp: Add preprocessor guards to fix unused function warning.
* rendering/RenderLayer.cpp: Fix unused variable warning.
(WebCore::RenderLayer::updateClipRects):

Source/WebKit:

Guard Cocoa-specific format modifier to avoid -Wformat warning.

* NetworkProcess/AdClickAttributionManager.cpp:
(WebKit::AdClickAttributionManager::fireConversionRequest):

Tools:

Add preprocessor guards to avoid -Wunused-function warnings.

* TestWebKitAPI/Tests/WebCore/FloatRect.cpp:
* TestWebKitAPI/Tests/WebCore/IntRect.cpp:
* TestWebKitAPI/Tests/WebCore/TransformationMatrix.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245179 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
Source/ThirdParty/ANGLE/CMakeLists.txt
Source/ThirdParty/ANGLE/ChangeLog
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/PlatformGTK.cmake
Source/WebCore/inspector/InspectorCanvas.cpp
Source/WebCore/rendering/RenderLayer.cpp
Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/AdClickAttributionManager.cpp
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebCore/FloatRect.cpp
Tools/TestWebKitAPI/Tests/WebCore/IntRect.cpp
Tools/TestWebKitAPI/Tests/WebCore/TransformationMatrix.cpp