Hi everybody,
My problem is somehow strange. I use qt sdk 2010.01 with mingw which includes gcc 4.4.0
I use some code like this
Code:
try { //call function that throws std::logic_exception("error"); } catch (const std::logic_exception & ex) { //handle exception here }
Piece a cake? Sure! It's just that gcc terminates the app, exception is never handled.
I tried a, doesn''t work eitherCode:
catch(...)
How is this supposed to work in gcc?????? Is there some special compiler flag to enable this??
Thanks a million
Chris