Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(252)

Issue 6427049: Add GCC warning flags from WebKit to the ANGLE Xcode targets (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by mvujovic
Modified:
14 years ago
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Add GCC warning flags from WebKit to the ANGLE Xcode targets ANGLE currently passes this set of warning flags, taken from the WebKit builds. I would like to treat these warnings as errors in the ANGLE Xcode targets. If we don't violate these warnings, updating ANGLE in WebKit can be much smoother in the future. Additionally, some of these warnings could find bugs like: http://code.google.com/p/angleproject/issues/detail?id=349 (which -Wtype-limits, included in -Wextra, would have caught).

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -0 lines) Patch
M build/common.gypi View 1 2 3 2 chunks +31 lines, -0 lines 0 comments Download
M src/build_angle.gyp View 1 2 3 1 chunk +4 lines, -0 lines 2 comments Download

Messages

Total messages: 28
mvujovic
Hi guys, Does this sound reasonable? Thanks, Max
14 years ago (2012-07-19 17:51:24 UTC) #1
apatrick1
I'm fine with this in principle. Do these flags not also work on linux? Does ...
14 years ago (2012-07-19 18:18:48 UTC) #2
mvujovic
On 2012/07/19 18:18:48, apatrick1 wrote: > I'm fine with this in principle. Do these flags ...
14 years ago (2012-07-19 20:46:43 UTC) #3
mvujovic
I posted patch set #2. I enabled the warnings for the Linux build in the ...
14 years ago (2012-07-20 16:32:27 UTC) #4
mvujovic
Hi Alastair, Does this look good? Thanks, Max
14 years ago (2012-07-24 16:04:59 UTC) #5
Alok Priyadarshi
https://codereview.appspot.com/6427049/diff/4001/src/build_angle.gyp File src/build_angle.gyp (right): https://codereview.appspot.com/6427049/diff/4001/src/build_angle.gyp#newcode6 src/build_angle.gyp:6: 'variables': { compiler-specific variables go into common.gypi so that ...
14 years ago (2012-07-24 16:55:45 UTC) #6
mvujovic
https://codereview.appspot.com/6427049/diff/4001/src/build_angle.gyp File src/build_angle.gyp (right): https://codereview.appspot.com/6427049/diff/4001/src/build_angle.gyp#newcode6 src/build_angle.gyp:6: 'variables': { On 2012/07/24 16:55:45, Alok Priyadarshi wrote: > ...
14 years ago (2012-07-24 17:59:55 UTC) #7
apatrick1
LGTM. Do you need this landed?
14 years ago (2012-07-24 18:05:53 UTC) #8
mvujovic
On 2012/07/24 18:05:53, apatrick1 wrote: > LGTM. Do you need this landed? Thanks! Nope, I ...
14 years ago (2012-07-24 18:09:32 UTC) #9
mvujovic
On 2012/07/24 18:09:32, mvujovic wrote: > On 2012/07/24 18:05:53, apatrick1 wrote: > > LGTM. Do ...
14 years ago (2012-07-24 18:15:33 UTC) #10
Alok Priyadarshi
https://codereview.appspot.com/6427049/diff/8001/src/build_angle.gyp File src/build_angle.gyp (right): https://codereview.appspot.com/6427049/diff/8001/src/build_angle.gyp#newcode45 src/build_angle.gyp:45: ], This is not right. You cannot reference them ...
14 years ago (2012-07-24 18:28:11 UTC) #11
mvujovic
https://codereview.appspot.com/6427049/diff/8001/src/build_angle.gyp File src/build_angle.gyp (right): https://codereview.appspot.com/6427049/diff/8001/src/build_angle.gyp#newcode45 src/build_angle.gyp:45: ], On 2012/07/24 18:28:11, Alok Priyadarshi wrote: > This ...
14 years ago (2012-07-24 18:54:18 UTC) #12
Alok Priyadarshi
On 2012/07/24 18:54:18, mvujovic wrote: > https://codereview.appspot.com/6427049/diff/8001/src/build_angle.gyp > File src/build_angle.gyp (right): > > https://codereview.appspot.com/6427049/diff/8001/src/build_angle.gyp#newcode45 > ...
14 years ago (2012-07-24 19:09:48 UTC) #13
apatrick1
I can't roll ANGLE into Chrome with this change: Traceback (most recent call last): File ...
14 years ago (2012-07-24 19:28:00 UTC) #14
Alok Priyadarshi
This is because chrome build system ignores common.gypi in ANGLE.
14 years ago (2012-07-24 19:30:08 UTC) #15
dgkoch
On 2012/07/24 19:28:00, apatrick1 wrote: > I can't roll ANGLE into Chrome with this change: ...
14 years ago (2012-07-24 19:30:14 UTC) #16
Alok Priyadarshi
On 2012/07/24 19:30:14, dgkoch wrote: > On 2012/07/24 19:28:00, apatrick1 wrote: > > I can't ...
14 years ago (2012-07-24 19:30:55 UTC) #17
apatrick1
I'll revert it.
14 years ago (2012-07-24 19:37:47 UTC) #18
mvujovic
On 2012/07/24 19:09:48, Alok Priyadarshi wrote: > On 2012/07/24 18:54:18, mvujovic wrote: > > https://codereview.appspot.com/6427049/diff/8001/src/build_angle.gyp ...
14 years ago (2012-07-24 19:42:57 UTC) #19
mvujovic
On 2012/07/24 19:37:47, apatrick1 wrote: > I'll revert it. Thanks. Sorry about that.
14 years ago (2012-07-24 20:06:25 UTC) #20
mvujovic
Let's try another approach. I posted patch set 4. In build_angle.gyp, we define a new ...
14 years ago (2012-07-25 19:03:06 UTC) #21
apatrick1
Let me test it in a Chromium Windows build...
14 years ago (2012-07-25 19:25:18 UTC) #22
Alok Priyadarshi
This is much better. lgtm. https://codereview.appspot.com/6427049/diff/15001/src/build_angle.gyp File src/build_angle.gyp (right): https://codereview.appspot.com/6427049/diff/15001/src/build_angle.gyp#newcode7 src/build_angle.gyp:7: # Third party code ...
14 years ago (2012-07-25 19:27:11 UTC) #23
apatrick1
Works on Windows. LGTM.
14 years ago (2012-07-25 19:37:33 UTC) #24
mvujovic
Thank you guys for the review and testing this on Windows. One question for Alok ...
14 years ago (2012-07-25 20:43:50 UTC) #25
Alok Priyadarshi
lgtm
14 years ago (2012-07-25 20:46:32 UTC) #26
Alok Priyadarshi
On 2012/07/25 20:46:32, Alok Priyadarshi wrote: > lgtm remember to move the comment to common.gypi
14 years ago (2012-07-25 20:46:52 UTC) #27
mvujovic
14 years ago (2012-07-25 21:03:12 UTC) #28
On 2012/07/25 20:46:52, Alok Priyadarshi wrote:
> On 2012/07/25 20:46:32, Alok Priyadarshi wrote:
> > lgtm
> 
> remember to move the comment to common.gypi

Yup. Thanks, Alok.

Committed in r1244.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b