Title: [256200] trunk
Revision
256200
Author
commit-qu...@webkit.org
Date
2020-02-10 12:24:03 -0800 (Mon, 10 Feb 2020)

Log Message

[CMake] Prepend -Wno-noexcept-type only to global CXX flags
https://bugs.webkit.org/show_bug.cgi?id=207468

Patch by Michael Catanzaro <mcatanz...@gnome.org> on 2020-02-10
Reviewed by Adrian Perez de Castro.

-Wno-noexcept-type is a C++-specific flag that should not be passed to the C compiler. This
causes a warning spam in GCC 10.

* Source/cmake/WebKitCompilerFlags.cmake:

Modified Paths

Diff

Modified: trunk/ChangeLog (256199 => 256200)


--- trunk/ChangeLog	2020-02-10 20:09:45 UTC (rev 256199)
+++ trunk/ChangeLog	2020-02-10 20:24:03 UTC (rev 256200)
@@ -1,3 +1,15 @@
+2020-02-10  Michael Catanzaro  <mcatanz...@gnome.org>
+
+        [CMake] Prepend -Wno-noexcept-type only to global CXX flags
+        https://bugs.webkit.org/show_bug.cgi?id=207468
+
+        Reviewed by Adrian Perez de Castro.
+
+        -Wno-noexcept-type is a C++-specific flag that should not be passed to the C compiler. This
+        causes a warning spam in GCC 10.
+
+        * Source/cmake/WebKitCompilerFlags.cmake:
+
 2020-02-10  Enrique Ocaña González  <eoca...@igalia.com>
 
         [GTK] Mouse pointer no longer hidden during fullscreen video playback

Modified: trunk/Source/cmake/WebKitCompilerFlags.cmake (256199 => 256200)


--- trunk/Source/cmake/WebKitCompilerFlags.cmake	2020-02-10 20:09:45 UTC (rev 256199)
+++ trunk/Source/cmake/WebKitCompilerFlags.cmake	2020-02-10 20:24:03 UTC (rev 256200)
@@ -123,10 +123,11 @@
     # FIXME: We should probably not be disabling -Wno-maybe-uninitialized?
     WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-Qunused-arguments
                                          -Wno-maybe-uninitialized
-                                         -Wno-noexcept-type
                                          -Wno-parentheses-equality
                                          -Wno-psabi)
 
+    WEBKIT_PREPEND_GLOBAL_CXX_FLAGS(-Wno-noexcept-type)
+
     # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80947
     if (${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS "8.0" AND NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
         WEBKIT_PREPEND_GLOBAL_CXX_FLAGS(-Wno-attributes)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to