diff makefile.vc @ 1601:71e0a3ad07f7

Enable level 3 warnings in DEBUG mode with Visual C to show deprecation warnings. Source code cleanup to eliminate the warnings now generated on this level.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 26 Feb 2012 09:21:35 +0000
parents 080b764e8982
children 7eb2e2d6b0be
line wrap: on
line diff
--- a/makefile.vc	Sat Feb 25 23:35:59 2012 +0000
+++ b/makefile.vc	Sun Feb 26 09:21:35 2012 +0000
@@ -43,7 +43,9 @@
 # Settings for either debug or release
 #
 !if "$(DEBUG)" == "Y"
-CFLAGS_DEBUG = -DDEBUG -Z7 -Od -MTd # was -Zi
+# -D_CRT_SECURE_NO_WARNINGS disables unsafe string function warnings
+# These can be perfectly safe if used properly but get enabled by -W3
+CFLAGS_DEBUG = -DDEBUG -Z7 -W3 -Od -MTd -D_CRT_SECURE_NO_WARNINGS # was -Zi
 LINK_DEBUG = -debug
 !else
 CFLAGS_DEBUG = -Ox -MT