From: abd Date: Wed, 20 Jun 2007 13:28:26 +0000 (+0000) Subject: Update environment of windows version: X-Git-Tag: T_MULTIPR_INDUS_2007-07-23~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3db20dff358ee39929f2bef93e05a6ccf587b41b;p=modules%2Fgui.git Update environment of windows version: - products; - projects. First correction of SalomeExceptionHandler functionality on Windows Porting current version of BR_Dev_For_4_0 branch on Windows. First stable Windows version of BR_Dev_For_4_0 branch. --- diff --git a/src/SalomeApp/SalomeApp_ExceptionHandler.cxx b/src/SalomeApp/SalomeApp_ExceptionHandler.cxx index 90de9c62d..dc6436411 100644 --- a/src/SalomeApp/SalomeApp_ExceptionHandler.cxx +++ b/src/SalomeApp/SalomeApp_ExceptionHandler.cxx @@ -98,13 +98,14 @@ bool SalomeApp_ExceptionHandler::handle( QObject* o, QEvent* e ) } /*!Create new SUIT_ExceptionHandler*/ + extern "C" SALOMEAPP_EXPORT SUIT_ExceptionHandler* getExceptionHandler() { // MSV 2006-04-26: work around PAL12004 "VTK window => SIGFPE Arithmetic Exception Detected" // We disable FPE signal as it was in earlier versions of SALOME. It is enabled // only in debug mode if the environment variable DISABLE_FPE is not set to 1. bool raiseFPE; -#ifdef _DEBUG_ +#if defined(_DEBUG_) | defined(_DEBUG) //the Last for WNT default settings raiseFPE = true; char* envDisableFPE = getenv("DISABLE_FPE"); if (envDisableFPE && atoi(envDisableFPE))