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

Issue 10829354: Disable warnings in harfbuzz/ for Android when not using clang. (Closed)

Created:
8 years, 4 months ago by Peter Beverloo
Modified:
8 years, 4 months ago
Reviewers:
Nico, digit1
CC:
chromium-reviews
Visibility:
Public.

Description

Disable warnings in harfbuzz/ for Android when not using clang. The Android NDK compilers, both on GCC 4.2 and on GCC 4.6, throw a warning about incompatible pointer signedness in one of harfbuzz' APIs. That's where the fun comes in: no flag is currently able to disable the warning when using Android's GCCs. We therefore have to disable all warnings. This is unfortunate, but we should still be getting sufficient coverage for other warnings from Linux and Android-clang builds. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151944

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Disable it for cpp files too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M third_party/harfbuzz/harfbuzz.gyp View 1 2 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Peter Beverloo
Nico: Mind reviewing this? David: This issue seems to be specific to Android's GCC version. ...
8 years, 4 months ago (2012-08-16 13:35:44 UTC) #1
Nico
Since we build this code on the linux bots, and since you guys seem to ...
8 years, 4 months ago (2012-08-16 14:52:49 UTC) #2
Peter Beverloo
On 2012/08/16 14:52:49, Nico wrote: > Since we build this code on the linux bots, ...
8 years, 4 months ago (2012-08-16 15:04:16 UTC) #3
Nico
LGTM https://chromiumcodereview.appspot.com/10829354/diff/3003/third_party/harfbuzz/harfbuzz.gyp File third_party/harfbuzz/harfbuzz.gyp (right): https://chromiumcodereview.appspot.com/10829354/diff/3003/third_party/harfbuzz/harfbuzz.gyp#newcode72 third_party/harfbuzz/harfbuzz.gyp:72: '-w', nit: unless gcc emits this warning only ...
8 years, 4 months ago (2012-08-16 15:06:10 UTC) #4
Peter Beverloo
On 2012/08/16 15:06:10, Nico wrote: > LGTM > > https://chromiumcodereview.appspot.com/10829354/diff/3003/third_party/harfbuzz/harfbuzz.gyp > File third_party/harfbuzz/harfbuzz.gyp (right): > ...
8 years, 4 months ago (2012-08-16 15:38:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peter@chromium.org/10829354/10002
8 years, 4 months ago (2012-08-16 15:38:35 UTC) #6
commit-bot: I haz the power
Try job failure for 10829354-10002 (retry) on linux_rel for step "content_browsertests". It's a second try, ...
8 years, 4 months ago (2012-08-16 17:05:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/peter@chromium.org/10829354/10002
8 years, 4 months ago (2012-08-16 17:08:11 UTC) #8
commit-bot: I haz the power
Change committed as 151944
8 years, 4 months ago (2012-08-16 19:27:44 UTC) #9
digit1
8 years, 4 months ago (2012-08-16 19:28:08 UTC) #10
lgtm.

Note that I'm not really aware of this GCC limitation, but the patch doesn't
seem to be too harmful. On the other hand, we should try fixing the harfbuzz
headers and send a patch upstream.

Powered by Google App Engine
This is Rietveld 408576698