Hi, I had a similar problem a few weeks ago with catching an exception from boost::threads. It had to do with symbol visibility (I am using the gcc compiler flag -fvisibility=hidden), see http://lists.boost.org/boost-users/2008/09/40268.php (problem solved/circumvented) http://lists.boost.org/boost-users/2008/09/40270.php (additional insight) I have also seen a trac ticket regarding this issue for many parts of boost, including regex: http://svn.boost.org/trac/boost/ticket/2114 Regards, Roland Matthew LaCrosse wrote:
Yes, I tried that.
On Sun, Oct 5, 2008 at 6:32 AM, Boris
mailto:boriss@web.de> wrote: On Sun, 05 Oct 2008 01:45:11 +0200, Matthew LaCrosse
mailto:mlacrosse3@gmail.com> wrote: It's not catching the exception in the C++ code. Could this just having something do with using the std::string class for the regex inputs?
I've no idea why a C++ exception shouldn't be caught in C++ code. Did you try catch(...) to test if this works at least?
Boris
[...]
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org mailto:Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users