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

Issue 277273002: Mac OS X build: turn off common word macros in AssertMacros.h (Closed)

Created:
6 years, 7 months ago by Nils Barth (inactive)
Modified:
6 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Mac OS X build: turn off common word macros in AssertMacros.h Mac OS X AssertMacros.h defining macros that collide with common names, like 'check', 'require', and 'verify'. This CL turns this behavior off by specifying define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE 0 ...allowing us to use these words normally. Refs: http://opensource.apple.com/source/CarbonHeaders/CarbonHeaders-18.1/AssertMacros.h [blink-dev] Fix collision with Apple macros? https://groups.google.com/a/chromium.org/d/topic/blink-dev/MIjO2Gwc3qc/discussion Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270992

Patch Set 1 #

Patch Set 2 : common.gypi instead #

Total comments: 2

Patch Set 3 : Fix link #

Patch Set 4 : Comment fix #

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

Messages

Total messages: 20 (0 generated)
Nils Barth (inactive)
Hi Mark, Is this the right place for the define? Thanks!
6 years, 7 months ago (2014-05-12 02:19:17 UTC) #1
Mark Mentovai
There’s no guarantee that anyone will #include this file before any system header. You should ...
6 years, 7 months ago (2014-05-12 15:38:27 UTC) #2
Nils Barth (inactive)
On 2014/05/12 15:38:27, Mark Mentovai wrote: > There’s no guarantee that anyone will #include this ...
6 years, 7 months ago (2014-05-13 06:00:38 UTC) #3
Mark Mentovai
LGTM. iOS has the same <AssertMacros.h> header too, but it’s never #included by anything else, ...
6 years, 7 months ago (2014-05-13 14:29:16 UTC) #4
Nils Barth (inactive)
On 2014/05/13 14:29:16, Mark Mentovai wrote: > LGTM. > > iOS has the same <AssertMacros.h> ...
6 years, 7 months ago (2014-05-14 00:46:22 UTC) #5
Nils Barth (inactive)
https://codereview.chromium.org/277273002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/277273002/diff/20001/build/common.gypi#newcode4527 build/common.gypi:4527: # http://opensource.apple.com/source/CarbonHeaders/CarbonHeaders-18.1/AssertMac On 2014/05/13 14:29:17, Mark Mentovai wrote: > ...
6 years, 7 months ago (2014-05-14 00:46:28 UTC) #6
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 7 months ago (2014-05-14 00:46:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/277273002/60001
6 years, 7 months ago (2014-05-14 00:47:52 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 04:19:57 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 04:23:23 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/74231)
6 years, 7 months ago (2014-05-14 04:23:23 UTC) #11
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 7 months ago (2014-05-14 04:30:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/277273002/60001
6 years, 7 months ago (2014-05-14 04:31:36 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 04:36:03 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 04:39:40 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/74236)
6 years, 7 months ago (2014-05-14 04:39:41 UTC) #16
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 7 months ago (2014-05-16 10:47:29 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/277273002/60001
6 years, 7 months ago (2014-05-16 10:48:02 UTC) #18
commit-bot: I haz the power
Change committed as 270992
6 years, 7 months ago (2014-05-16 11:43:13 UTC) #19
Nils Barth (inactive)
6 years, 7 months ago (2014-05-26 03:02:34 UTC) #20
Message was sent while issue was closed.
On 2014/05/16 11:43:13, I haz the power (commit-bot) wrote:
> Change committed as 270992

Oops, typo (singular/plural).

Fixed in:
Fix define typo in Mac OS X build
https://codereview.chromium.org/298093002/

Sorry for noise.

Powered by Google App Engine
This is Rietveld 408576698