This commit is contained in:
Daniel Lemire 2024-01-28 10:55:02 -05:00
parent 1d97749791
commit 5334e2ba94
2 changed files with 9 additions and 1 deletions

View File

@ -72,6 +72,7 @@ fast_float_add_cpp_test(long_test)
fast_float_add_cpp_test(powersoffive_hardround)
fast_float_add_cpp_test(string_test)
fast_float_add_cpp_test(fast_int)
target_compile_features(fast_int PRIVATE cxx_std_17)
fast_float_add_cpp_test(json_fmt)
fast_float_add_cpp_test(fortran)

View File

@ -1,3 +1,4 @@
#if defined(__cplusplus) && (__cplusplus >= 201703L)
#include <cstdlib>
#include <iostream>
#include <vector>
@ -742,3 +743,9 @@ int main() {
return EXIT_SUCCESS;
}
#else
int main() {
std::cerr << "The test requires C++17." << std::endl;
return EXIT_SUCCESS;
}
#endif