Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1634)

Unified Diff: webrtc/base/logging.cc

Issue 1644843003: Compile rtc_base_objc and rtc_api_objc for Mac (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update against master Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/base/logging.cc
diff --git a/webrtc/base/logging.cc b/webrtc/base/logging.cc
index 019a31623be1333f48383362ed9fe74c21619fb9..68e0c6a589df8ddde5e9fc49e90d0b4f9493d968 100644
--- a/webrtc/base/logging.cc
+++ b/webrtc/base/logging.cc
@@ -171,10 +171,14 @@ LogMessage::LogMessage(const char* file,
#endif // WEBRTC_WIN
#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
case ERRCTX_OSSTATUS: {
+// TODO(hjon): Update deprecated APIs (see webrtc:5478 for details).
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated"
tmp << " " << nonnull(GetMacOSStatusErrorString(err), "Unknown error");
if (const char* desc = GetMacOSStatusCommentString(err)) {
tmp << ": " << desc;
}
+#pragma clang diagnostic pop
break;
}
#endif // WEBRTC_MAC && !defined(WEBRTC_IOS)

Powered by Google App Engine
This is Rietveld 408576698