Boost C++ Libraries: Ticket #5356: math/tools/config.hpp adjustment for Intel C++ https://svn.boost.org/trac10/ticket/5356 <p> With the current boost svn trunk rev. 70385 our Intel C++ 9.1, 10.1, 11.0 builds are failing: </p> <p> boost/boost/detail/fenv.hpp(11): catastrophic error: #error directive: This platform does not have a floating point environment </p> <blockquote> <p> #error This platform does not have a floating point environment </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> compilation aborted for minimal.cpp (code 4) </p> <p> This fixes the problem: </p> <p> Index: boost/math/tools/config.hpp =================================================================== --- boost/math/tools/config.hpp (revision 70385) +++ boost/math/tools/config.hpp (working copy) @@ -255,7 +255,7 @@ </p> <blockquote> <p> } <em> namespace tools }} </em> namespace boost namespace math </p> </blockquote> <table class="wiki"> <tr>-#if (defined(<span class="underline">linux</span>) &amp;&amp; !defined(<span class="underline">UCLIBC</span>)) <td> defined(<span class="underline">QNX</span>) </td><td> defined(<span class="underline">IBMCPP</span>) </td></tr><tr>+#if (defined(<span class="underline">linux</span>) &amp;&amp; !defined(<span class="underline">UCLIBC</span>) &amp;&amp; !defined(<span class="underline">INTEL_COMPILER)) <td> defined(</span>QNX<span class="underline">) </span></td><td> defined(<span class="underline">IBMCPP</span>) </td></tr></table> <blockquote> <p> #include &lt;boost/detail/fenv.hpp&gt; </p> </blockquote> <p> I didn't check this is because I'm not sure if this is the correct fix. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5356 Trac 1.4.3 John Maddock Tue, 22 Mar 2011 18:14:03 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5356#comment:1 https://svn.boost.org/trac10/ticket/5356#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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/70392" title="Don't include fenv.h when BOOST_NO_FENV_H is set. Fixes #5356.">[70392]</a>) Don't include fenv.h when BOOST_NO_FENV_H is set. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5356" title="#5356: Bugs: math/tools/config.hpp adjustment for Intel C++ (closed: fixed)">#5356</a>. </p> Ticket