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

Qt Code:
  1. try
  2. {
  3. //call function that throws std::logic_exception("error");
  4. }
  5. catch (const std::logic_exception & ex)
  6. {
  7. //handle exception here
  8. }
To copy to clipboard, switch view to plain text mode 

Piece a cake? Sure! It's just that gcc terminates the app, exception is never handled.
I tried a
Qt Code:
  1. catch(...)
To copy to clipboard, switch view to plain text mode 
, doesn''t work either

How is this supposed to work in gcc?????? Is there some special compiler flag to enable this??


Thanks a million
Chris