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

Issue 2632113003: gn: fix build with GCC 5 (Closed)

Created:
3 years, 11 months ago by Mike Gilbert
Modified:
3 years, 11 months ago
CC:
chromium-reviews, Dirk Pranke, tfarina, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gn: fix build with GCC 5 Technically, this code is correct, but practically a problem as it makes it hard to read and comprehend for people that have not completely memorised the C++ standard and its scoping rules. It also triggers a compiler bug in GCC 5. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54430 https://bugs.gentoo.org/show_bug.cgi?id=605828 tools/gn/xcode_writer.cc:173:29: error: use of ‘target’ before deduction of ‘auto’ for (const auto& target : target->public_deps()) { Review-Url: https://codereview.chromium.org/2632113003 Cr-Commit-Position: refs/heads/master@{#444083} Committed: https://chromium.googlesource.com/chromium/src/+/6d75d94d4a41eab2f2963e5ae0cdc0cfad4706c9

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -6 lines) Patch
M tools/gn/xcode_writer.cc View 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Mike Gilbert
Please have a look.
3 years, 11 months ago (2017-01-16 22:20:33 UTC) #3
liaoyuke
On 2017/01/16 22:20:33, Mike Gilbert wrote: > Please have a look. Thank you for fixing ...
3 years, 11 months ago (2017-01-17 05:02:48 UTC) #4
Mike Gilbert
I assume I still need an OWNER sign-off for this pretty trivial change? If so, ...
3 years, 11 months ago (2017-01-17 16:56:07 UTC) #5
Dirk Pranke
lgtm
3 years, 11 months ago (2017-01-17 17:06:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2632113003/1
3 years, 11 months ago (2017-01-17 17:23:55 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 17:38:12 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/6d75d94d4a41eab2f2963e5ae0cd...

Powered by Google App Engine
This is Rietveld 408576698