diff --git a/src/util/dt_impl.cpp b/src/util/dt_impl.cpp index de40644f..09377dee 100644 --- a/src/util/dt_impl.cpp +++ b/src/util/dt_impl.cpp @@ -38,6 +38,10 @@ #endif #define DOCTEST_CONFIG_NO_UNPREFIXED_OPTIONS #if !defined(DOCTEST_CONFIG_DISABLE) +#if defined(__clang__) && defined(__FAST_MATH__) && defined(__INTEL_LLVM_COMPILER) +// warning: comparison with NaN always evaluates to false in fast floating point modes +#pragma clang diagnostic ignored "-Wtautological-constant-compare" +#endif #include #endif