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

Issue 1140423002: mac: Turn on partial availability warning. (Closed)

Created:
5 years, 7 months ago by erikchen
Modified:
5 years, 7 months ago
Reviewers:
Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac: Turn on partial availability warning. When compiling Objective C, warns if a method is used whose availability is newer than the deployment target. BUG=471823 Committed: https://crrev.com/7943910c269820ce6ecab228a3bc1c8f7dc70689 Cr-Commit-Position: refs/heads/master@{#330573}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comments from thakis. #

Total comments: 2

Patch Set 3 : Comments from thakis, round two. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M build/common.gypi View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
erikchen
thakis: Please review.
5 years, 7 months ago (2015-05-19 00:54:36 UTC) #2
Nico
congrats! https://codereview.chromium.org/1140423002/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1140423002/diff/1/build/common.gypi#newcode2573 build/common.gypi:2573: '-Wpartial-availability', We probably want to do this in ...
5 years, 7 months ago (2015-05-19 00:58:20 UTC) #3
erikchen
https://codereview.chromium.org/1140423002/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1140423002/diff/1/build/common.gypi#newcode2573 build/common.gypi:2573: '-Wpartial-availability', On 2015/05/19 00:58:20, Nico wrote: > We probably ...
5 years, 7 months ago (2015-05-19 01:32:25 UTC) #4
Nico
lgtm, but: https://codereview.chromium.org/1140423002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1140423002/diff/20001/build/common.gypi#newcode2584 build/common.gypi:2584: 'variables': { 'clang_warning_flags': ['-Wpartial-availability']}, If this is ...
5 years, 7 months ago (2015-05-19 01:40:32 UTC) #5
erikchen
thanks for the explanation. I appreciate that you take the time to explain the right ...
5 years, 7 months ago (2015-05-19 17:06:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1140423002/40001
5 years, 7 months ago (2015-05-19 17:09:35 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-19 18:41:59 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/7943910c269820ce6ecab228a3bc1c8f7dc70689 Cr-Commit-Position: refs/heads/master@{#330573}
5 years, 7 months ago (2015-05-19 18:42:46 UTC) #11
Nico
I just realized that you probably want to do this in some .gn file ( ...
5 years, 7 months ago (2015-05-19 22:49:28 UTC) #12
Nico
5 years, 7 months ago (2015-05-21 18:05:36 UTC) #13
Message was sent while issue was closed.
https://code.google.com/p/chromium/codesearch#chromium/src/build/config/compi...
is probably a good place. (But you probably also need to check if (!is_nacl)
there because nacl's compiler won't know or need that flag)

Powered by Google App Engine
This is Rietveld 408576698