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. --- gtk/scintilla.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/scintilla.mak') diff --git a/gtk/scintilla.mak b/gtk/scintilla.mak index c4924ed6a..b993c6069 100644 --- a/gtk/scintilla.mak +++ b/gtk/scintilla.mak @@ -62,7 +62,7 @@ ALL_GTK_LIBS=$(GTK_TOP)/gtk+/gtk/gtk-1.3.lib \ !ENDIF INCLUDEDIRS=-I ../include -I ../src $(GTK_INCLUDES) -CXXFLAGS=/TP /W4 -DGTK -D_CRT_SECURE_NO_DEPRECATE=1 +CXXFLAGS=/TP /W4 -EHsc -DGTK -D_CRT_SECURE_NO_DEPRECATE=1 CFLAGS=/W4 -DGTK # For something scary:/Wp64 CXXDEBUG=/Zi /Od /MDd -DDEBUG @@ -90,7 +90,7 @@ LD=ilink32 INCLUDEDIRS=-I../include -I../src CXXFLAGS = -v -CXXFLAGS=-P -tWM -w -w-prc -w-inl -RT- -x- +CXXFLAGS=-P -tWM -w -w-prc -w-inl -RT- -x # Above turns off warnings for clarfying parentheses and inlines with for not expanded CXXDEBUG=-v -DDEBUG CXXNDEBUG=-O1 -DNDEBUG -- cgit v1.2.3