warzone2100/lib/exceptionhandler
Buginator 0aff0b46cf Add a new debug flag type, LOG_FATAL.
This is used to differentiate LOG_ERROR (which is a *non* fatal error, but a error none the less) and fatal errors which result in program termination with no *visible* output (on windows/macs) on our end because of the crappy GUI functions so we usually dump it to stderr.txt and there is no clue that the program had to exit for whatever reason.

Hopefully, this will be helpful to windows people so they can differentiate between *our* exit/abort routines, and crashes that occur in drivers which look exactly the same since they get dumped back to the desktop with no visible clue why.

LOG_FATAL is *always* on in both debug & release builds.

On LOG_FATAL debug lines, on windows, we now throw up a modal dialog box with the current error message.  At this time, this only happens when we have a error, and we use abort() right after the error, which makes it fatal.

That explains why this touches ~60 files :)


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8320 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:51 +01:00
..
include Add the exceptionhandler from Dr. MinGW (part of mingw-utils) with my fixes to it (doesn't compile & link in yet) 2008-04-05 16:00:58 +00:00
Makefile.am * Wrap all file lists in the automake and win32 makefiles across lines such that there's only one file on each line 2008-10-13 13:04:37 +00:00
dumpinfo.cpp Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
dumpinfo.h Make addDumpInfo() parameter const 2009-11-22 16:19:48 +01:00
exceptionhandler.c Make it more obvious as to what kind of build it was built from. (Debug or Release). 2009-10-10 14:49:23 +02:00
exceptionhandler.h Bump copyright 2009-02-10 18:01:48 +00:00
exceptionhandler.vcproj Fix compiling on MSVC: 2008-11-25 23:53:44 +00:00
exchndl.c Fix windows crash dump report, by returning back a c_str() instead of a string. 2009-05-28 09:59:21 +02:00
exchndl.h Bump copyright 2009-02-10 18:01:48 +00:00
makefile.win32 * Wrap all file lists in the automake and win32 makefiles across lines such that there's only one file on each line 2008-10-13 13:04:37 +00:00