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

Issue 9121034: Make DFAKE_MUTEX a typedef when using NDEBUG, so that pedantic compilers don't warn about an extra … (Closed)

Created:
8 years, 11 months ago by Ryan Sleevi
Modified:
8 years, 11 months ago
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Make DFAKE_MUTEX a typedef when using NDEBUG, so that pedantic compilers don't warn about an extra ; in a class definition BUG=111583 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119574

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase #

Patch Set 3 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M base/threading/thread_collision_warner.h View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Ryan Sleevi
First one to stamp wins? Who doesn't love a little pre-processor magic. This is blocking ...
8 years, 11 months ago (2012-01-27 03:03:08 UTC) #1
pdox
thanks for handling this!
8 years, 11 months ago (2012-01-27 05:42:43 UTC) #2
brettw
lgtm http://codereview.chromium.org/9121034/diff/1/base/threading/thread_collision_warner.h File base/threading/thread_collision_warner.h (right): http://codereview.chromium.org/9121034/diff/1/base/threading/thread_collision_warner.h#newcode122 base/threading/thread_collision_warner.h:122: #define DFAKE_MUTEX(obj) typedef void __InternalFakeMutexType##obj Probably shouldn't use ...
8 years, 11 months ago (2012-01-27 22:33:32 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/9121034/3
8 years, 11 months ago (2012-01-27 23:37:00 UTC) #4
commit-bot: I haz the power
8 years, 11 months ago (2012-01-28 03:09:55 UTC) #5
Change committed as 119574

Powered by Google App Engine
This is Rietveld 408576698