Boost C++ Libraries: Ticket #5076: numeric/conversion/converter_policies.hpp won't build with gcc -fno-exceptions https://svn.boost.org/trac10/ticket/5076 <p> Using gcc -fno-exceptions: </p> <p> In file included from /home/markusl/work/unicorn/1/libs/manspan/Ibspanfuncs.cpp:17: </p> <p> /home/markusl/work/unicorn/1/include/x86_64_bali/boost/numeric/conversion/converter_policies.hpp: In member function 'void boost::numeric::def_overflow_handler::operator()(boost::numeric::range_check_result)': </p> <p> /home/markusl/work/unicorn/1/include/x86_64_bali/boost/numeric/conversion/converter_policies.hpp:162: error: exception handling disabled, use -fexceptions to enable </p> <p> The attached patch fixes the problem. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5076 Trac 1.4.3 Markus Laker <markusl@…> Fri, 14 Jan 2011 12:37:05 GMT attachment set https://svn.boost.org/trac10/ticket/5076 https://svn.boost.org/trac10/ticket/5076 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patch-converter_policies_hpp</span> </li> </ul> <p> Patch that fixes the problem </p> Ticket anonymous Mon, 18 Jul 2011 21:49:34 GMT <link>https://svn.boost.org/trac10/ticket/5076#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5076#comment:1</guid> <description> <p> I've run into this error as well. Is there a compelling reason for not using a boost exception here? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 06 Feb 2012 17:29:37 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5076#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5076#comment:2</guid> <description> <p> Likewise, I'm hitting this problem in fedora boost-devel-1.44-8-fc14.x86_64, please fix this issue please. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Mon, 05 Mar 2012 17:11:23 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5076#comment:3 https://svn.boost.org/trac10/ticket/5076#comment:3 <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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/77234" title="Fixes #5731, fixes #5076, fixes #5393, fixes #5800 Now numeric_cast ...">[77234]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5731" title="#5731: Bugs: Failure in boost/numeric/conversion when compiled without exceptions (closed: fixed)">#5731</a>, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5076" title="#5076: Bugs: numeric/conversion/converter_policies.hpp won't build with gcc ... (closed: fixed)">#5076</a>, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5393" title="#5393: Bugs: cast.hpp does not compile with exceptions off (closed: fixed)">#5393</a>, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5800" title="#5800: Bugs: lexical_cast doesn't compile without exceptions (closed: fixed)">#5800</a> Now numeric_cast (and lexical_cast) can be compiled with disabled exceptions </p> Ticket