Boost C++ Libraries: Ticket #2101: variant fails to compile with -fno-exceptions https://svn.boost.org/trac10/ticket/2101 <p> The variant component fails to compile with GCC when -fno-exceptions is specified. The attached patch allows the libraries / tests shipped with boost 1.35.0 to compile. There didn't seem to be a better option to make g++ happy than to just #ifndef out the catch(...) block, as it would otherwise complain about the throw in the block. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2101 Trac 1.4.3 anonymous Thu, 10 Jul 2008 04:42:38 GMT attachment set https://svn.boost.org/trac10/ticket/2101 https://svn.boost.org/trac10/ticket/2101 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_variant_no_exceptions.diff</span> </li> </ul> Ticket Noel Belcourt Wed, 09 Jun 2010 02:51:24 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2101#comment:1 https://svn.boost.org/trac10/ticket/2101#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> The variant library can not be built with exceptions disabled. This is not a defect. </p> Ticket