Title: [202782] trunk/Source/WTF
Revision
202782
Author
[email protected]
Date
2016-07-02 10:52:09 -0700 (Sat, 02 Jul 2016)

Log Message

Build fix.

* wtf/Assertions.cpp:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (202781 => 202782)


--- trunk/Source/WTF/ChangeLog	2016-07-02 17:47:52 UTC (rev 202781)
+++ trunk/Source/WTF/ChangeLog	2016-07-02 17:52:09 UTC (rev 202782)
@@ -1,3 +1,9 @@
+2016-07-02  Dan Bernstein  <[email protected]>
+
+        Build fix.
+
+        * wtf/Assertions.cpp:
+
 2016-07-02  Filip Pizlo  <[email protected]>
 
         Unreviewed, roll back unintentional commit in r202778.

Modified: trunk/Source/WTF/wtf/Assertions.cpp (202781 => 202782)


--- trunk/Source/WTF/wtf/Assertions.cpp	2016-07-02 17:47:52 UTC (rev 202781)
+++ trunk/Source/WTF/wtf/Assertions.cpp	2016-07-02 17:52:09 UTC (rev 202782)
@@ -83,7 +83,10 @@
 static void logToStderr(const char* buffer)
 {
 #if USE(APPLE_SYSTEM_LOG)
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
     asl_log(0, 0, ASL_LEVEL_NOTICE, "%s", buffer);
+#pragma clang diagnostic pop
 #endif
     fputs(buffer, stderr);
 }
@@ -117,10 +120,13 @@
     }
 
 #if USE(APPLE_SYSTEM_LOG)
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
     va_list copyOfArgs;
     va_copy(copyOfArgs, args);
     asl_vlog(0, 0, ASL_LEVEL_NOTICE, format, copyOfArgs);
     va_end(copyOfArgs);
+#pragma clang diagnostic pop
 #endif
 
     // Fall through to write to stderr in the same manner as other platforms.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to