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

Issue 1420613005: document COMPILER(GCC) and COMPILER(MSVC) a little better (Closed)

Created:
5 years, 2 months ago by Mostyn Bramley-Moore
Modified:
5 years, 1 month ago
Reviewers:
Nico
CC:
chromium-reviews, oilpan-reviews, Mads Ager (chromium), Raymond Toy, haraken, blink-reviews, blink-reviews-wtf_chromium.org, kouhei+heap_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

document COMPILER(GCC) and COMPILER(MSVC) a little better Clang pretends to be gcc 4.4 by defining __GNUC__ and some related macros, and therefore COMPILER(GCC) evaluates to 1 there. To check for GCC specifically, you need to check something like COMPILER(GCC) && !COMPILER(CLANG). A similar situation happens with COMPILER(MSVC) in Clang when building for windows (since Clang emulates MSVC there). Committed: https://crrev.com/a5ee6277d60307ce8998670b1b4914d64816498b Cr-Commit-Position: refs/heads/master@{#357260}

Patch Set 1 #

Patch Set 2 : document COMPILER(GCC) and COMPILER(MSVC) a little better #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M third_party/WebKit/Source/wtf/Compiler.h View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420613005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420613005/1
5 years, 2 months ago (2015-10-23 09:05:54 UTC) #2
Mostyn Bramley-Moore
@Nico: Does this look OK to you? IMO the current setup is surprising, and this ...
5 years, 2 months ago (2015-10-23 09:43:58 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-23 12:11:31 UTC) #9
Nico
On 2015/10/23 12:11:31, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 2 months ago (2015-10-23 16:40:13 UTC) #10
Mostyn Bramley-Moore
> Not lgtm, no. This is good as is. Don't you find it confusing? We ...
5 years, 2 months ago (2015-10-23 18:20:41 UTC) #11
Nico
On 2015/10/23 18:20:41, Mostyn Bramley-Moore wrote: > > Not lgtm, no. This is good as ...
5 years, 2 months ago (2015-10-23 18:29:50 UTC) #12
Mostyn Bramley-Moore
> > If you still disagree, would you accept a patch which documents this case ...
5 years, 2 months ago (2015-10-23 18:54:02 UTC) #14
Mostyn Bramley-Moore
*ping* (non-urgent)
5 years, 1 month ago (2015-10-30 20:29:08 UTC) #15
Nico
lgtm (sorry, forgot about this)
5 years, 1 month ago (2015-10-30 20:56:27 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420613005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420613005/20001
5 years, 1 month ago (2015-10-30 21:24:03 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/124582)
5 years, 1 month ago (2015-10-30 23:05:20 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420613005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420613005/20001
5 years, 1 month ago (2015-10-31 00:08:57 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-10-31 02:29:24 UTC) #23
commit-bot: I haz the power
5 years, 1 month ago (2015-10-31 02:30:24 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a5ee6277d60307ce8998670b1b4914d64816498b
Cr-Commit-Position: refs/heads/master@{#357260}

Powered by Google App Engine
This is Rietveld 408576698