diff options
author | 2012-12-26 13:09:43 +0000 | |
---|---|---|
committer | 2012-12-26 13:09:43 +0000 | |
commit | 0ea68a43270bd025d0a8a5fd1ce023add84d14cb (patch) | |
tree | 3c9d3db5ca19147d1ade97205b615298772b2a42 /src | |
parent | b063bf769d57a8eae087ffbac01990e441724467 (diff) |
added make define MSVC_ANALYSIS to run Visual Studio code analysis (nw)
Diffstat (limited to 'src')
-rw-r--r-- | src/osd/windows/windows.mak | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osd/windows/windows.mak b/src/osd/windows/windows.mak index 285543a04f8..83649508a3c 100644 --- a/src/osd/windows/windows.mak +++ b/src/osd/windows/windows.mak @@ -145,6 +145,10 @@ ifeq ($(OPTIMIZE),0) CCOMFLAGS += /RTC1 endif +ifdef MSVC_ANALYSIS +CCOMFLAGS += /analyze /wd6011 /wd6328 /wd6204 /wd6244 /wd6385 /wd6308 /wd6246 /wd6031 /wd6326 /analyze:stacksize384112 +endif + # enable exception handling for C++ CPPONLYFLAGS += /EHsc |