cmake update
This commit is contained in:
@@ -55,14 +55,18 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__FAST_MATH__) && defined(__clang__) && (__clang_major__ + 0 >= 6)
|
||||
#if defined(__FAST_MATH__) && defined(__clang__) && (__clang_major__ + 0 > 0)
|
||||
#if __clang_major__ >= 6
|
||||
// warning: comparison with NaN always evaluates to false in fast floating point modes
|
||||
#pragma clang diagnostic ignored "-Wtautological-constant-compare"
|
||||
#endif
|
||||
#if defined(__FAST_MATH__) && defined(__clang__) && (__clang_major__ + 0 >= 18)
|
||||
#if defined(__has_warning)
|
||||
#if __has_warning("-Wnan-infinity-disabled")
|
||||
// warning: use of NaN is undefined behavior due to the currently enabled floating-point options
|
||||
#pragma clang diagnostic ignored "-Wnan-infinity-disabled"
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <doctest/doctest/parts/doctest.cpp>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user