mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-11 14:22:58 -06:00
bazaar: Removed default FP exception activation from CrashHandler
git-svn-id: svn://ultimatepp.org/upp/trunk@15309 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
24642c7f5c
commit
3dcba3ea1c
1 changed files with 4 additions and 1 deletions
|
|
@ -27,9 +27,12 @@ static CrashHandler crash;
|
|||
|
||||
CrashHandler::CrashHandler() {
|
||||
#if defined(PLATFORM_WIN32)
|
||||
// You really cannot do this without breaking existing code!!!!!
|
||||
// You must leave the control over FP exceptions to the application!!!
|
||||
/*
|
||||
_clearfp();
|
||||
_controlfp(_controlfp(0, 0) & ~(_EM_INVALID | _EM_ZERODIVIDE | _EM_OVERFLOW), _MCW_EM);
|
||||
|
||||
*/
|
||||
SetUnhandledExceptionFilter(UnhandledHandler);
|
||||
_set_purecall_handler(PureCallHandler);
|
||||
_set_invalid_parameter_handler(InvalidParameterHandler);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue