We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7650580 commit 6c2b388Copy full SHA for 6c2b388
cmake/DaemonFlags.cmake
@@ -161,6 +161,9 @@ if (MSVC)
161
162
if (USE_FLOAT_EXCEPTIONS)
163
set_c_cxx_flag("/fp:strict")
164
+ # Don't switch on C4305 "truncation from 'double' to 'float'" every
165
+ # time an unsuffixed decimal constant is used
166
+ set_c_cxx_flag("/wd4305")
167
elseif (USE_FAST_MATH)
168
set_c_cxx_flag("/fp:fast")
169
endif()
0 commit comments