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

Unified Diff: build/common.gypi

Issue 1140423002: mac: Turn on partial availability warning. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 2f5ea2d1ca409171500de7853b635c68a234b13a..f5b71e5ef6946553a59e30f275fa1ac292ae0c51 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2567,6 +2567,10 @@
# TODO(hans): Get this cleaned up.
'-Wno-inconsistent-missing-override',
+
+ # When compiling Objective C, warns if a method is used whose
+ # availability is newer than the deployment target.
+ '-Wpartial-availability',
Nico 2015/05/19 00:58:20 We probably want to do this in some OS==mac sectio
erikchen 2015/05/19 01:32:21 Ah - hadn't considered the effect on iOS. Done.
],
},
'includes': [ 'set_clang_warning_flags.gypi', ],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698