diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-30 10:35:01 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-08-30 10:35:15 (GMT) |
commit | 5cac887297e58efe9553d7aa2bca9139f84bf094 (patch) | |
tree | cf90c20fd26eff6ab7c6399926ad9932b96ce701 | |
parent | e0713a6b9577d08c0f45cdd7736450a8f30bf290 (diff) | |
parent | 4a275f63206be052f9ab32a35a58681469374ba9 (diff) | |
download | CMake-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-x | bootstrap | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |