This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Asynchronous exceptions
- From: Jindroush <jindroush at seznam dot cz>
- To: cygwin at cygwin dot com
- Date: Fri, 19 Apr 2002 00:03:29 +0200
- Subject: Asynchronous exceptions
Hi,
anybody has working example of catching asynchronous exceptions on
cygwin 2.95-3?
I tried:
int main()
{
try
{
BadFunc();
}
catch(...)
{
printf( "Badfunc was really bad!\n" );
}
}
void BadFunc()
{
BYTE* p = NULL;
*p = 0;
}
Althought I complied with -fexceptions -fasynchronous-exceptions, it
just prints out the cygwin/gcc runtime error message and produces stack
dump.
Does cygwin support that?
Jindroush (jindroush@seznam.cz)
http://jindroush.atari.org - Home of Atari Cartridge Dumping Project.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/