Mercurial > dwindows
comparison 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 |
comparison
equal
deleted
inserted
replaced
1600:cbfdd56e3e72 | 1601:71e0a3ad07f7 |
---|---|
41 | 41 |
42 # | 42 # |
43 # Settings for either debug or release | 43 # Settings for either debug or release |
44 # | 44 # |
45 !if "$(DEBUG)" == "Y" | 45 !if "$(DEBUG)" == "Y" |
46 CFLAGS_DEBUG = -DDEBUG -Z7 -Od -MTd # was -Zi | 46 # -D_CRT_SECURE_NO_WARNINGS disables unsafe string function warnings |
47 # These can be perfectly safe if used properly but get enabled by -W3 | |
48 CFLAGS_DEBUG = -DDEBUG -Z7 -W3 -Od -MTd -D_CRT_SECURE_NO_WARNINGS # was -Zi | |
47 LINK_DEBUG = -debug | 49 LINK_DEBUG = -debug |
48 !else | 50 !else |
49 CFLAGS_DEBUG = -Ox -MT | 51 CFLAGS_DEBUG = -Ox -MT |
50 LINK_DEBUG = -release | 52 LINK_DEBUG = -release |
51 !endif | 53 !endif |