aboutsummaryrefslogtreecommitdiff
path: root/bootstrap-msvc.bat
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-12-03 10:44:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-12-03 10:44:14 +0200
commit747574796a066cc0258b643f556c34893153dbc1 (patch)
tree11981a8ef72ddd73aef6989f0c8fe781ec78d7a7 /bootstrap-msvc.bat
parent652f360fceeec60228b50e3d6a61b9e1b4fd23e1 (diff)
Suppress MSVC warnings at project level
Diffstat (limited to 'bootstrap-msvc.bat')
-rw-r--r--bootstrap-msvc.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap-msvc.bat b/bootstrap-msvc.bat
index ad2d3a7..a81bec9 100644
--- a/bootstrap-msvc.bat
+++ b/bootstrap-msvc.bat
@@ -40,7 +40,7 @@ goto :eof
rem Note that echo does not override errorlevel.
rem
echo on
- %cxx% /I%owd%\%libbutl% /I%owd% /DBUILD2_BOOTSTRAP /DBUILD2_HOST_TRIPLET=\"i686-microsoft-win32-msvc\" %ops% /c /TP %*
+ %cxx% /I%owd%\%libbutl% /I%owd% /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /DBUILD2_BOOTSTRAP /DBUILD2_HOST_TRIPLET=\"i686-microsoft-win32-msvc\" %ops% /c /TP %*
@echo off
if errorlevel 1 exit /b 1
goto :eof