File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,8 +187,9 @@ if(CMAKE_COMPILER_IS_MSVC)
187187 # /MANIFEST:NO") # please, don't disable manifest generation, otherwise crash at start for vs2008
188188
189189 # Disable some warnings
190+ # 4244 : conversion from 'type1' to 'type2', possible loss of data
190191 # 4661 : no suitable definition provided for explicit template instantiation request
191- string (APPEND CMAKE_CXX_FLAGS " /wd4800 /wd4521 /wd4251 /wd4275 /wd4305 /wd4355 /wd4661" )
192+ string (APPEND CMAKE_CXX_FLAGS " /wd4800 /wd4521 /wd4251 /wd4275 /wd4305 /wd4355 /wd4244 /wd4267 / wd4661" )
192193
193194 # Enable warnings, which are disabled by default (see https://learn.microsoft.com/de-de/cpp/preprocessor/compiler-warnings-that-are-off-by-default)
194195 string (APPEND CMAKE_CXX_FLAGS " /w34265" )
Original file line number Diff line number Diff line change 4848#endif
4949
5050#if defined _MSC_VER
51- // 4244 : conversion from 'type1' to 'type2', possible loss of data
5251 // 4503 : decorated name length exceeded, name was truncated
5352 // 4146 : unary minus operator applied to unsigned type, result still unsigned
54- #pragma warning (disable: 4018 4244 4267 4521 4251 4305 4503 4146)
53+ #pragma warning (disable: 4018 4521 4251 4305 4503 4146)
5554#endif
5655
5756#ifndef _USE_MATH_DEFINES
You can’t perform that action at this time.
0 commit comments