--- old/make/common/shared/Defs-windows.gmk Tue Dec 28 14:54:03 2010 +++ new/make/common/shared/Defs-windows.gmk Tue Dec 28 14:54:03 2010 @@ -34,6 +34,8 @@ # Program.gmk may turn this down to 2 (building .exe's). # Windows 64bit platforms are less likely to be warning free. # Historically, Windows 32bit builds should be mostly warning free. +# VS2010 introduced a large number of security warnings that are off by +# default but will be turned back on with SHOW_ALL_WARNINGS=true. ifndef COMPILER_WARNING_LEVEL COMPILER_WARNING_LEVEL=3 endif @@ -40,6 +42,9 @@ ifndef COMPILER_WARNINGS_FATAL COMPILER_WARNINGS_FATAL=false endif +ifndef SHOW_ALL_WARNINGS + SHOW_ALL_WARNINGS = false +endif # Windows should use parallel compilation for best build times ifndef COMPILE_APPROACH