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

Issue 194803006: Adds -Wno-deprecated-register to the build settings for iOS. (Closed)

Created:
6 years, 9 months ago by rohitrao (ping after 24h)
Modified:
6 years, 9 months ago
CC:
chromium-reviews, justincohen, sdefresne
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Adds -Wno-deprecated-register to the build settings for iOS. Xcode 5.1 ships with a clang that deprecates the register keyword by default. This warning flag is needed in order to compile for iOS with Xcode 5.1. However, the old version of Xcode (5.0) does not understand this flag. In order to temporarily support compiling on both versions of Xcode, this CL also adds -Wno-unknown-warning-option to suppress errors about unknown compiler flags. This flag will be removed as soon as all of the bots have been updated with Xcode 5.1, within a week. BUG=255186, 337611 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256592

Patch Set 1 #

Patch Set 2 : Comment. #

Total comments: 3

Patch Set 3 : Moved -Wno-unknown-warning-option #

Total comments: 6

Patch Set 4 : Moved comment. #

Patch Set 5 : Rebased. #

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

Messages

Total messages: 22 (0 generated)
rohitrao (ping after 24h)
Sending this out to see if anyone can explain why my first attempt at putting ...
6 years, 9 months ago (2014-03-11 20:43:24 UTC) #1
Mark Mentovai
https://codereview.chromium.org/194803006/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/194803006/diff/20001/build/common.gypi#newcode4477 build/common.gypi:4477: rohitrao wrote: > If I put the following code ...
6 years, 9 months ago (2014-03-11 20:46:37 UTC) #2
Nico
BUG=255186,337611 On Tue, Mar 11, 2014 at 1:46 PM, <mark@chromium.org> wrote: > > https://codereview.chromium.org/194803006/diff/20001/build/common.gypi > ...
6 years, 9 months ago (2014-03-11 20:48:05 UTC) #3
rohitrao (ping after 24h)
https://codereview.chromium.org/194803006/diff/30001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/194803006/diff/30001/build/common.gypi#newcode4468 build/common.gypi:4468: '-Wno-deprecated-register', -Wno-deprecated-register is now passed *twice* for iOS ninja ...
6 years, 9 months ago (2014-03-11 21:09:39 UTC) #4
Nico
On Tue, Mar 11, 2014 at 2:09 PM, <rohitrao@chromium.org> wrote: > > https://codereview.chromium.org/194803006/diff/30001/build/common.gypi > File ...
6 years, 9 months ago (2014-03-11 21:17:46 UTC) #5
Mark Mentovai
https://codereview.chromium.org/194803006/diff/30001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/194803006/diff/30001/build/common.gypi#newcode4468 build/common.gypi:4468: '-Wno-deprecated-register', rohitrao wrote: > -Wno-deprecated-register is now passed *twice* ...
6 years, 9 months ago (2014-03-11 21:39:51 UTC) #6
rohitrao (ping after 24h)
https://codereview.chromium.org/194803006/diff/30001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/194803006/diff/30001/build/common.gypi#newcode4468 build/common.gypi:4468: '-Wno-deprecated-register', > I’m taking that to mean that you’re ...
6 years, 9 months ago (2014-03-11 21:49:31 UTC) #7
sdefresne
I've got the follow change to re-enable the -Wno-deprecated-register flag for iOS when using ninja: ...
6 years, 9 months ago (2014-03-11 21:50:56 UTC) #8
Mark Mentovai
https://codereview.chromium.org/194803006/diff/30001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/194803006/diff/30001/build/common.gypi#newcode4468 build/common.gypi:4468: '-Wno-deprecated-register', rohitrao wrote: > > I’m taking that to ...
6 years, 9 months ago (2014-03-11 21:55:46 UTC) #9
Nico
On Tue, Mar 11, 2014 at 2:49 PM, <rohitrao@chromium.org> wrote: > > https://codereview.chromium.org/194803006/diff/30001/build/common.gypi > File ...
6 years, 9 months ago (2014-03-11 21:59:43 UTC) #10
rohitrao (ping after 24h)
Ah, Sylvain's change will probably let us clean this all up. So we'll have three ...
6 years, 9 months ago (2014-03-11 22:13:51 UTC) #11
stuartmorgan
On 2014/03/11 22:13:51, rohitrao wrote: > We can rewrite common.gypi to set compiler flags based ...
6 years, 9 months ago (2014-03-11 22:41:34 UTC) #12
Nico
On Tue, Mar 11, 2014 at 3:41 PM, <stuartmorgan@chromium.org> wrote: > On 2014/03/11 22:13:51, rohitrao ...
6 years, 9 months ago (2014-03-11 22:46:02 UTC) #13
sdefresne
+1 from me too.
6 years, 9 months ago (2014-03-12 08:31:46 UTC) #14
rohitrao (ping after 24h)
I will work on a common.gypi cleanup today. In the meantime, can I proceed with ...
6 years, 9 months ago (2014-03-12 15:16:35 UTC) #15
Mark Mentovai
Who are you asking, me? Sure. LGTM.
6 years, 9 months ago (2014-03-12 15:32:41 UTC) #16
sdefresne
LGTM for me too.
6 years, 9 months ago (2014-03-12 15:33:21 UTC) #17
rohitrao (ping after 24h)
The CQ bit was checked by rohitrao@chromium.org
6 years, 9 months ago (2014-03-12 15:49:07 UTC) #18
stuartmorgan
lgtm
6 years, 9 months ago (2014-03-12 15:49:16 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rohitrao@chromium.org/194803006/70001
6 years, 9 months ago (2014-03-12 15:50:48 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rohitrao@chromium.org/194803006/70001
6 years, 9 months ago (2014-03-12 16:59:44 UTC) #21
commit-bot: I haz the power
6 years, 9 months ago (2014-03-12 19:07:00 UTC) #22
Message was sent while issue was closed.
Change committed as 256592

Powered by Google App Engine
This is Rietveld 408576698