From 192f10d7cb32f7802064fa3c22d7738e0aba2de3 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Wed, 28 Sep 2011 20:55:45 +0000 Subject: [PATCH] Added /EHsc compiler flag for C++ exception handling on Windows Signed-off-by: Alexey Melnikov git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25263 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/win-pre.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/win-pre.in b/src/config/win-pre.in index c5ce6d4e5..e5588d043 100644 --- a/src/config/win-pre.in +++ b/src/config/win-pre.in @@ -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" ) -- 2.26.2