On Jul 27, 2012, at 9:10 AM, niXman wrote: > 2012/7/27 NightStrike: >> >> You might want to check out gcc 4.7.2 with current trunk mingw-w64 >> crt/headers. I believe SEH is in as of the 4th of July. > > Are you saying that this code will be execute correctly? > > try { > int* i = 0; > cout << *i << endl; > } catch ( ... ) { > cout << "exception" << endl; > }
The accvio exception won't be caught by the C++ handler. If you want so, you have to adjust the c++ personality routine (and you may like to start with what we did for Ada). Wether this is correct or not is another question (I think that from a pure C++ POV, the behaviour is not defined). Tristan. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public