Reviewers: Sven Panne,
Message:
Committed patchset #1 manually as r15737 (presubmit successful).
Description:
Just check for C++ version.
This fixes build breakage introduced with r15736.
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=15737
Please review this at https://codereview.chromium.org/19671009/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/checks.h
Index: src/checks.h
diff --git a/src/checks.h b/src/checks.h
index
55dc1bc7024c79fb02b9aea9b23e6cfb996c7e2c..b309e2c42c79361b53d7eacaaf6d75028d1a64d5
100644
--- a/src/checks.h
+++ b/src/checks.h
@@ -232,9 +232,7 @@ inline void CheckNonEqualsHelper(const char* file,
// Use C++11 static_assert if possible, which gives error
// messages that are easier to understand on first sight.
-#if __cplusplus >= 201103L || \
- (defined(__has_feature) && __has_feature(cxx_static_assert)) || \
- (defined(__has_extension) && __has_extension(cxx_static_assert))
+#if __cplusplus >= 201103L
#define STATIC_CHECK(test) static_assert(test, #test)
#else
// This is inspired by the static assertion facility in boost. This
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.