Title: [287716] trunk
Revision
287716
Author
[email protected]
Date
2022-01-06 13:02:33 -0800 (Thu, 06 Jan 2022)

Log Message

[MSVC] Suppress new warnings C5054 and C5055 introduced by /permissive-
https://bugs.webkit.org/show_bug.cgi?id=234929

Reviewed by Ross Kirsling.

After 245790@main enabled C++20 which implicitly enabled
/permissive- switch, WinCairo builds emit a lot of new compilation
warnings.

* Source/cmake/OptionsMSVC.cmake: Suppress the warnings.

Modified Paths

Diff

Modified: trunk/ChangeLog (287715 => 287716)


--- trunk/ChangeLog	2022-01-06 21:01:52 UTC (rev 287715)
+++ trunk/ChangeLog	2022-01-06 21:02:33 UTC (rev 287716)
@@ -1,3 +1,16 @@
+2022-01-06  Fujii Hironori  <[email protected]>
+
+        [MSVC] Suppress new warnings C5054 and C5055 introduced by /permissive-
+        https://bugs.webkit.org/show_bug.cgi?id=234929
+
+        Reviewed by Ross Kirsling.
+
+        After 245790@main enabled C++20 which implicitly enabled
+        /permissive- switch, WinCairo builds emit a lot of new compilation
+        warnings.
+
+        * Source/cmake/OptionsMSVC.cmake: Suppress the warnings.
+
 2022-01-06  Alex Christensen  <[email protected]>
 
         Start using C++20

Modified: trunk/Source/cmake/OptionsMSVC.cmake (287715 => 287716)


--- trunk/Source/cmake/OptionsMSVC.cmake	2022-01-06 21:01:52 UTC (rev 287715)
+++ trunk/Source/cmake/OptionsMSVC.cmake	2022-01-06 21:02:33 UTC (rev 287716)
@@ -103,6 +103,10 @@
     /wd4996 # Your code uses a function, class member, variable, or typedef that's marked deprecated
 
     /wd5205 # delete of an abstract class 'type-name' that has a non-virtual destructor results in undefined behavior
+
+    /wd5054 # operator 'operator-name': deprecated between enumerations of different types
+
+    /wd5055 # operator 'operator-name': deprecated between enumerations and floating-point types
 )
 
 # Create pdb files for debugging purposes, also for Release builds
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to