Boost logo

Boost Users :

Subject: [Boost-users] exception mechanism of boost.regex conflicts with QT lib.
From: cat fa (boost.subscribing_at_[hidden])
Date: 2011-11-23 11:22:59


a short piece of code:
/////////////////////////////////////
boost::regex reg;; try { reg.assign( "[]d"); } catch(std::runtime_error &e) {
//exception }
//////////////////////////

this code runs well in Eclipse with MingW. When I copy this code in my QT
project and run, it seems that QT lib cannot handle the exception which
boost.regex lib throws. A run time termination warning shows as a result.
I'm using win7 64bit. My QT is integrated with MingW 4.4 .

Did any one encounter a similar problem? Could someone help me ?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net