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

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: Add references to issues 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 686b9b2b02b482e104f7daab6eb5f4bde336821d..3d79b53d6a0650f90d94181a7389f1a55f6af29b 100644
--- a/webrtc/base/logging.cc
+++ b/webrtc/base/logging.cc
@@ -169,10 +169,14 @@ LogMessage::LogMessage(const char* file,
#endif // WEBRTC_WIN
#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
case ERRCTX_OSSTATUS: {
+// TODO(5478): Update deprecated APIs.
kjellander_webrtc 2016/02/01 06:08:29 Use proper format for TODOs (see previous comment)
hjon_webrtc 2016/02/02 23:03:50 Done.
+#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