Initial conversion for windows with -Wall and disables.
--- a/make/autoconf/flags-cflags.m4 Mon Mar 05 22:29:59 2018 +0100
+++ b/make/autoconf/flags-cflags.m4 Mon Mar 05 22:35:26 2018 +0100
@@ -184,6 +184,10 @@
microsoft)
DISABLE_WARNING_PREFIX="-wd"
CFLAGS_WARNINGS_ARE_ERRORS="-WX"
+
+ WARNINGS_ENABLE_ALL="-Wall"
+ EVEN_MORE="4054 4055 4057 4100 4127 4131 4132 4152 4201 4204 4206 4210 4232 4244 4255 4263 4264 4295 4302 4306 4311 4324 4366 4388 4512 4548 4555 4574 4800 4986 4987"
+ DISABLED_WARNINGS="4061 4062 4130 4189 4191 4211 4242 4245 4265 4287 4296 4310 4312 4350 4355 4365 4389 4505 4510 4514 4571 4610 4619 4623 4625 4626 4640 4668 4701 4702 4703 4706 4710 4711 4820 4917 4946 $EVEN_MORE"
;;
solstudio)
DISABLE_WARNING_PREFIX="-erroff="
@@ -616,8 +620,9 @@
WARNING_CFLAGS_JDK_CXXONLY="$WARNINGS_ENABLE_ALL_CXXFLAGS"
WARNING_CFLAGS_JVM="$WARNINGS_ENABLE_ALL_CXXFLAGS"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
- WARNING_CFLAGS="-W3"
- WARNING_CFLAGS_JDK="-wd4800"
+ WARNING_CFLAGS="$WARNINGS_ENABLE_ALL"
+ #WARNING_CFLAGS="-W3"
+ #WARNING_CFLAGS_JDK="-wd4800"
fi
# Set some additional per-OS defines.