Subject: [Boost-bugs] [Boost C++ Libraries] #12224: Crash on MSVC with RTTI disabled
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-05-24 07:12:29
#12224: Crash on MSVC with RTTI disabled
------------------------------+---------------------
Reporter: raad@⦠| Owner: rogeeff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
Version: Boost 1.59.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
When runtime type information is turned off, BOOST_NO_TYPEID is not
defined for MSVC as well as the Intel compiler in MSVC mode as static
typeid works fine. But dynamic typeid leads to a crash at runtime if RTTI
is disabled. This happens in execution_monitor::execute when an exception
is caught.
Patch that checks for BOOST_NO_RTTI in addition to BOOST_NO_TYPEID here:
https://github.com/boostorg/test/pull/99
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12224> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC