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 10e631d commit 051b3a1Copy full SHA for 051b3a1
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