Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::exception crash when throw from library
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2011-10-06 15:06:06


2011/10/4 Alexey Badyaev <leemouse_at_[hidden]>:
> Hi all.
> My little test project (minimal testcase attached to this mail) crashed
> on ms windows7 when compiled by ms visual studio 2008 express edition.
> May be, my c++ code is wrong - any help appropriated.

You can not call diagnostic_information() from an implementation of what().

Diagnostic information from what() is supported by a different
function, see http://www.boost.org/doc/libs/release/libs/exception/doc/diagnostic_information_what.html.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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