Title: [258484] trunk/Source/ThirdParty/ANGLE
Revision
258484
Author
[email protected]
Date
2020-03-15 19:08:19 -0700 (Sun, 15 Mar 2020)

Log Message

[ANGLE] Source/ThirdParty/ANGLE/src/common/utilities.cpp:10: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
https://bugs.webkit.org/show_bug.cgi?id=209014

Patch by Michael Catanzaro <[email protected]> on 2020-03-15
Reviewed by Darin Adler.

Silence compiler warning.

* changes.diff:
* src/common/utilities.cpp:

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (258483 => 258484)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2020-03-16 01:41:15 UTC (rev 258483)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2020-03-16 02:08:19 UTC (rev 258484)
@@ -1,5 +1,17 @@
 2020-03-15  Michael Catanzaro  <[email protected]>
 
+        [ANGLE] Source/ThirdParty/ANGLE/src/common/utilities.cpp:10: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
+        https://bugs.webkit.org/show_bug.cgi?id=209014
+
+        Reviewed by Darin Adler.
+
+        Silence compiler warning.
+
+        * changes.diff:
+        * src/common/utilities.cpp:
+
+2020-03-15  Michael Catanzaro  <[email protected]>
+
         [ANGLE] Source/ThirdParty/ANGLE/src/libANGLE/Display.h:221:73: warning: implicitly-declared ‘egl::AttributeMap& egl::AttributeMap::operator=(const egl::AttributeMap&)’ is deprecated [-Wdeprecated-copy]
         https://bugs.webkit.org/show_bug.cgi?id=209015
 

Modified: trunk/Source/ThirdParty/ANGLE/changes.diff (258483 => 258484)


--- trunk/Source/ThirdParty/ANGLE/changes.diff	2020-03-16 01:41:15 UTC (rev 258483)
+++ trunk/Source/ThirdParty/ANGLE/changes.diff	2020-03-16 02:08:19 UTC (rev 258484)
@@ -2,12 +2,14 @@
 index 87932a53f..83ea168e2 100644
 --- a/src/common/utilities.cpp
 +++ b/src/common/utilities.cpp
-@@ -6,6 +6,9 @@
+@@ -6,6 +6,11 @@
  
  // utilities.cpp: Conversion functions and other utility routines.
  
 +// Older clang versions have a false positive on this warning here.
++#if defined(__clang__)
 +#pragma clang diagnostic ignored "-Wglobal-constructors"
++#endif
 +
  #include "common/utilities.h"
  #include <GLSLANG/ShaderVars.h>

Modified: trunk/Source/ThirdParty/ANGLE/src/common/utilities.cpp (258483 => 258484)


--- trunk/Source/ThirdParty/ANGLE/src/common/utilities.cpp	2020-03-16 01:41:15 UTC (rev 258483)
+++ trunk/Source/ThirdParty/ANGLE/src/common/utilities.cpp	2020-03-16 02:08:19 UTC (rev 258484)
@@ -7,7 +7,9 @@
 // utilities.cpp: Conversion functions and other utility routines.
 
 // Older clang versions have a false positive on this warning here.
+#if defined(__clang__)
 #pragma clang diagnostic ignored "-Wglobal-constructors"
+#endif
 
 #include "common/utilities.h"
 #include <GLSLANG/ShaderVars.h>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to