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

Issue 19671009: Just check for C++ version. (Closed)

Created:
7 years, 5 months ago by Benedikt Meurer
Modified:
7 years, 5 months ago
Reviewers:
Sven Panne
CC:
v8-dev
Visibility:
Public.

Description

Just check for C++ version. This fixes build breakage introduced with r15736. TBR=svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15737

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
M src/checks.h View 1 chunk +1 line, -3 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
Benedikt Meurer
Committed patchset #1 manually as r15737 (presubmit successful).
7 years, 5 months ago (2013-07-18 07:50:38 UTC) #1
Sven Panne
lgtm https://codereview.chromium.org/19671009/diff/1/src/checks.h File src/checks.h (left): https://codereview.chromium.org/19671009/diff/1/src/checks.h#oldcode236 src/checks.h:236: (defined(__has_feature) && __has_feature(cxx_static_assert)) || \ If the need ...
7 years, 5 months ago (2013-07-18 07:57:57 UTC) #2
Benedikt Meurer
On 2013/07/18 07:57:57, Sven Panne wrote: > lgtm > > https://codereview.chromium.org/19671009/diff/1/src/checks.h > File src/checks.h (left): ...
7 years, 5 months ago (2013-07-18 08:01:40 UTC) #3
Sven Panne
On 2013/07/18 08:01:40, Benedikt Meurer wrote: > That should be in #elif then. :-) To ...
7 years, 5 months ago (2013-07-18 08:04:45 UTC) #4
Benedikt Meurer
7 years, 5 months ago (2013-07-18 08:05:31 UTC) #5
Message was sent while issue was closed.
On 2013/07/18 08:04:45, Sven Panne wrote:
> On 2013/07/18 08:01:40, Benedikt Meurer wrote:
> > That should be in #elif then. :-)
> 
> To continue the nit-picking: I think it should even be OK without #elif,
because
> redefining macros with the same text is OK IIRC. OTOH, the preprocessor alone
is
> more complex than any complete programming language should be, so who knows...
> :-D

I'm pretty sure we'll find compilers with preprocessors that are going to bail
out here. :-)

Powered by Google App Engine
This is Rietveld 408576698