summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-30 10:35:01 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-08-30 10:35:15 (GMT)
commit5cac887297e58efe9553d7aa2bca9139f84bf094 (patch)
treecf90c20fd26eff6ab7c6399926ad9932b96ce701
parente0713a6b9577d08c0f45cdd7736450a8f30bf290 (diff)
parent4a275f63206be052f9ab32a35a58681469374ba9 (diff)
downloadCMake-5cac887297e58efe9553d7aa2bca9139f84bf094.zip
CMake-5cac887297e58efe9553d7aa2bca9139f84bf094.tar.gz
CMake-5cac887297e58efe9553d7aa2bca9139f84bf094.tar.bz2
Merge topic 'bootstrap-std'
4a275f63 bootstrap: Require compiler mode aware of C++11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1200
-rwxr-xr-xbootstrap8
1 files changed, 6 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index e543d62..430f53b 100755
--- a/bootstrap
+++ b/bootstrap
@@ -988,8 +988,12 @@ echo '
#include <iostream>
#include <memory>
-#if __cplusplus >= 201103L && defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
-#error "SunPro <= 5.13 C++ 11 mode not supported due to bug in move semantics."
+#if __cplusplus < 201103L
+#error "Compiler is not in a mode aware of C++11."
+#endif
+
+#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
+#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
#endif
class Class