Boost C++ Libraries: Ticket #13607: Asio bad_address_cast fix under no exceptions https://svn.boost.org/trac10/ticket/13607 <p> When using the Asio module in MSVC when exceptions are disabled, deriving an exception from bad_cast throws a linker error. A simple fix would look similar to the lexical_cast, bad_any_cast, etc. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13607 Trac 1.4.3 kvankooten@… Thu, 14 Jun 2018 18:15:01 GMT <link>https://svn.boost.org/trac10/ticket/13607#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13607#comment:1</guid> <description> <p> The class bad_adress_cast in bad_address_cast.hpp can be derived as follows: </p> <pre class="wiki">class bad_address_cast : #if defined(BOOST_MSVC) &amp;&amp; defined(_HAS_EXCEPTIONS) &amp;&amp; !_HAS_EXCEPTIONS public std::exception #else public std::bad_cast #endif { ... } </pre> </description> <category>Ticket</category> </item> </channel> </rss>