mirror of
https://github.com/reactos/CMake.git
synced 2025-03-06 19:08:43 +00:00
bootstrap: Require GCC 4.9 or higher on HP-UX
Revise for future removal of the early rejection checks on HP-UX. Our code may now work with GCC 4.9 on HP-UX when manually using `env CXXFLAGS=-D_GLIBCXX_USE_C99` to make the C++11 `std::to_string` available on this platform. However, without nightly testing we cannot officially enable support for the platform. Issue: #17137 Co-Author: Earle Lowe <elowe@elowe.com>
This commit is contained in:
parent
5ffb2dbff6
commit
ba315f2035
@ -1059,6 +1059,10 @@ echo '
|
||||
#error "On Solaris we need C99."
|
||||
#endif
|
||||
|
||||
#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
|
||||
#error "On HP-UX we need GCC 4.9 or higher."
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
@ -1127,6 +1131,10 @@ echo '
|
||||
#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
|
||||
#endif
|
||||
|
||||
#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
|
||||
#error "On HP-UX we need GCC 4.9 or higher."
|
||||
#endif
|
||||
|
||||
#if __cplusplus > 201103L
|
||||
#include <iterator>
|
||||
int check_cxx14()
|
||||
|
Loading…
x
Reference in New Issue
Block a user