You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Note that "/opt" and "-opt" are equivalent for MSVC; we use "-opt" because "/opt" looks like a path.
123
123
if test x"$GCC" != x"yes" && test x"$build_windows" = x"yes"; then
124
-
SECP_TRY_APPEND_CFLAGS([-W2 -wd4146], $1) # Moderate warning level, disable warning C4146 "unary minus operator applied to unsigned type, result still unsigned"
124
+
SECP_TRY_APPEND_CFLAGS([-W3], $1) # Production quality warning level.
125
+
SECP_TRY_APPEND_CFLAGS([-wd4146], $1) # Disable warning C4146 "unary minus operator applied to unsigned type, result still unsigned".
126
+
SECP_TRY_APPEND_CFLAGS([-wd4244], $1) # Disable warning C4244 "'conversion' conversion from 'type1' to 'type2', possible loss of data".
127
+
SECP_TRY_APPEND_CFLAGS([-wd4267], $1) # Disable warning C4267 "'var' : conversion from 'size_t' to 'type', possible loss of data".
128
+
# The following warning is relevant to benchmarks and tests only.
129
+
SECP_TRY_APPEND_CFLAGS([-wd4996], $1) # Disable warning C4996 for the usage of a function, class member, variable, or typedef that's marked deprecated.
125
130
# We pass -ignore:4217 to the MSVC linker to suppress warning 4217 when
126
131
# importing variables from a statically linked secp256k1.
127
132
# (See the libtool manual, section "Windows DLLs" for background.)
0 commit comments