Title: [148669] trunk/Source/ThirdParty/ANGLE
Revision
148669
Author
[email protected]
Date
2013-04-18 05:56:00 -0700 (Thu, 18 Apr 2013)

Log Message

Add checking whether the compiler allows to use #pragma directive.
https://bugs.webkit.org/show_bug.cgi?id=114740

Patch by Krzysztof Wolanski <[email protected]> on 2013-04-18
Reviewed by Andreas Kling.

Some compilers may complain that #pragma warning is an undefined macro.

* src/compiler/depgraph/DependencyGraph.cpp:

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (148668 => 148669)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2013-04-18 12:54:42 UTC (rev 148668)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2013-04-18 12:56:00 UTC (rev 148669)
@@ -1,3 +1,14 @@
+2013-04-18  Krzysztof Wolanski  <[email protected]>
+
+        Add checking whether the compiler allows to use #pragma directive.
+        https://bugs.webkit.org/show_bug.cgi?id=114740
+
+        Reviewed by Andreas Kling.
+
+        Some compilers may complain that #pragma warning is an undefined macro.
+
+        * src/compiler/depgraph/DependencyGraph.cpp:
+
 2013-04-11  Andras Becsi  <[email protected]>
 
         [Qt][Mac] Linking fails with Qt 5.1

Modified: trunk/Source/ThirdParty/ANGLE/src/compiler/depgraph/DependencyGraph.cpp (148668 => 148669)


--- trunk/Source/ThirdParty/ANGLE/src/compiler/depgraph/DependencyGraph.cpp	2013-04-18 12:54:42 UTC (rev 148668)
+++ trunk/Source/ThirdParty/ANGLE/src/compiler/depgraph/DependencyGraph.cpp	2013-04-18 12:56:00 UTC (rev 148669)
@@ -4,7 +4,9 @@
 // found in the LICENSE file.
 //
 
+#if defined(_MSC_VER)
 #pragma warning(disable: 4718)
+#endif
 
 #include "compiler/depgraph/DependencyGraph.h"
 #include "compiler/depgraph/DependencyGraphBuilder.h"
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to