Strange behavior of Glib::Error::throw_exception()



When GlibMM is compiled without the API exceptions feature
(--enable-api-exceptions=no), one "catches" exceptions by allowing the
called function to fill in a std::auto_ptr reference with some
instance of a Glib::Error.

I've filed a bug:

 http://bugzilla.gnome.org/show_bug.cgi?id=391907

which describes some apparent random jumping when
Glib::Error::throw_exception() tries to return to the caller.

This doesn't appear to be linked to compiler optimizations; I got the
same result both when glibmm was compiled with no opts and with -Os.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]