Added /EHsc compiler flag for C++ exception handling on Windows
authorSam Hartman <hartmans@mit.edu>
Wed, 28 Sep 2011 20:55:45 +0000 (20:55 +0000)
committerSam Hartman <hartmans@mit.edu>
Wed, 28 Sep 2011 20:55:45 +0000 (20:55 +0000)
Signed-off-by: Alexey Melnikov <aamelnikov@gmail.com>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25263 dc483132-0cff-0310-8789-dd5450dbe970

src/config/win-pre.in

index c5ce6d4e52b9bfa08121974e4ba3c8f0c080eef9..e5588d0437df70b333f9bcfb3a833e03a4117703 100644 (file)
@@ -131,7 +131,7 @@ CC=cl
 
 PDB_OPTS=-Fd$(OUTPRE)\ -FD
 CPPFLAGS=-I$(top_srcdir)\include -I$(top_srcdir)\include\krb5 $(DNSFLAGS) -DWIN32_LEAN_AND_MEAN -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -D_CRT_SECURE_NO_DEPRECATE $(KFWFLAGS) $(TIME_T_FLAGS)
-CCOPTS=-nologo /W3 $(PDB_OPTS) $(DLL_FILE_DEF)
+CCOPTS=-nologo /EHsc /W3 $(PDB_OPTS) $(DLL_FILE_DEF)
 LOPTS=-nologo -incremental:no
 
 !if  ("$(CPU)" == "IA64" ) || ("$(CPU)" == "AMD64" ) || ("$(CPU)" == "ALPHA64" )