We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77cc847 commit cb6761eCopy full SHA for cb6761e
.github/workflows/ubuntu24.yml
@@ -11,7 +11,7 @@ jobs:
11
run: |
12
mkdir build &&
13
cd build &&
14
- CXXFLAGS=-Werror cmake -DFASTFLOAT_TEST=ON -D FASTFLOAT_BENCHMARKS=ON .. &&
+ "CXXFLAGS=-Werror -Wundef" cmake -DFASTFLOAT_TEST=ON -D FASTFLOAT_BENCHMARKS=ON .. &&
15
cmake --build . &&
16
ctest --output-on-failure
17
- name: Use cmake CXX23
include/fast_float/float_common.h
@@ -9,7 +9,7 @@
9
#include <type_traits>
10
#include <system_error>
#ifdef __has_include
-#if __has_include(<stdfloat>) && (__cplusplus > 202002L || _MSVC_LANG > 202002L)
+#if __has_include(<stdfloat>) && (__cplusplus > 202002L || (defined(_MSVC_LANG) && (_MSVC_LANG > 202002L)))
#include <stdfloat>
#endif
0 commit comments