Add support of exception for Visual C++
This commit is contained in:
1 parent
ab8bbad3f4
commit
b3c9f6ee47
1 file changed
+1
-1
@@ -66,7 +66,7 @@ for %%f in (test-*.c) do (
|
|||||||
REM Enable warnings and basic optimization
|
REM Enable warnings and basic optimization
|
||||||
REM Inform M*LIB to use Annex K by defining __STDC_WANT_LIB_EXT1__
|
REM Inform M*LIB to use Annex K by defining __STDC_WANT_LIB_EXT1__
|
||||||
echo Compiling %%f with %compiler%
|
echo Compiling %%f with %compiler%
|
||||||
%compiler% /I.. /O2 /W3 /std:c++14 /Zc:__cplusplus /Zc:preprocessor /D__STDC_WANT_LIB_EXT1__ test.cpp > %%f.log 2>&1 || (
|
%compiler% /I.. /O2 /W3 /std:c++14 /Zc:__cplusplus /Zc:preprocessor /D__STDC_WANT_LIB_EXT1__ /EHsc test.cpp > %%f.log 2>&1 || (
|
||||||
echo *** BUILD ERROR for %%f *** >> %%f.log
|
echo *** BUILD ERROR for %%f *** >> %%f.log
|
||||||
type %%f.log
|
type %%f.log
|
||||||
EXIT /B 1
|
EXIT /B 1
|
||||||
|
|||||||
Reference in new issue
Block a user