From 37f710d4eea40efa99d8c1973f69f0fcf3e07aec Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 3 May 2009 03:52:19 +0000 Subject: Turned on exceptions. Translate exceptions into status codes before leaving Scintilla. Pick up status codes in SciTE and throw a ScintillaFailure exception. SciTE on Windows catches ScintillaFailure, shows message and exits. --- win32/scintilla.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win32/scintilla.mak') diff --git a/win32/scintilla.mak b/win32/scintilla.mak index f2f64a87f..ff8dc8f57 100644 --- a/win32/scintilla.mak +++ b/win32/scintilla.mak @@ -35,7 +35,7 @@ CC=cl RC=rc LD=link -CXXFLAGS=-Zi -TP -W4 -Zc:forScope -Zc:wchar_t -D_CRT_SECURE_NO_DEPRECATE=1 +CXXFLAGS=-Zi -TP -W4 -EHsc -Zc:forScope -Zc:wchar_t -D_CRT_SECURE_NO_DEPRECATE=1 # For something scary:-Wp64 CXXDEBUG=-Od -MTd -DDEBUG CXXNDEBUG=-O1 -MT -DNDEBUG -GL @@ -52,7 +52,7 @@ CC=bcc32 RC=brcc32 -r LD=ilink32 -CXXFLAGS=-P -tWM -w -w-prc -w-inl -w-pin -RT- -x- +CXXFLAGS=-P -tWM -w -w-prc -w-inl -w-pin -RT- # Above turns off warnings for clarfying parentheses and inlines with for not expanded CXXDEBUG=-Od -v -DDEBUG CXXNDEBUG=-O1 -DNDEBUG -- cgit v1.2.3