Boost C++ Libraries: Ticket #4592: icpc 11.1 fails to compile has_float and related cmath headers https://svn.boost.org/trac10/ticket/4592 <p> The problem is strkingly similar to : <a class="ext-link" href="http://groups.google.com/group/boost-list/browse_thread/thread/99ee648b03bcbf88"><span class="icon">​</span>http://groups.google.com/group/boost-list/browse_thread/thread/99ee648b03bcbf88</a> and Intel say that using mathimf.h insetad of cmath seems to fix the problem as per <a class="ext-link" href="http://software.intel.com/en-us/forums/showthread.php?t=64188"><span class="icon">​</span>http://software.intel.com/en-us/forums/showthread.php?t=64188</a>). </p> <p> Seems fixing boost/config/no_tr1/cmath.hpp is enough to fix this bug. </p> <p> Fidn attached modified files </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4592 Trac 1.4.3 Joel Falcou Wed, 25 Aug 2010 11:47:50 GMT attachment set https://svn.boost.org/trac10/ticket/4592 https://svn.boost.org/trac10/ticket/4592 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">cmath.hpp</span> </li> </ul> <p> Fixed cmath.hpp </p> Ticket anonymous Wed, 25 Aug 2010 16:50:42 GMT <link>https://svn.boost.org/trac10/ticket/4592#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4592#comment:1</guid> <description> <p> That doesn't actually fix things - in fact it causes large numbers of failures in our regression tests. Note that Intel on Linux normally handles Boost.Math just fine (and passes all our tests), it's only when you use icpc with an unsupported (ie too recent!) gcc version that the problems occur. </p> <p> I'd much rather we found some other workaround, or else documented a workaround, or better got Intel to fix this - after all we really should be able to #include &lt;cmath&gt; which is all we're doing here! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel Falcou</dc:creator> <pubDate>Wed, 25 Aug 2010 17:01:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4592#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4592#comment:2</guid> <description> <p> Oh my bad :/ Now the think is that the only gcc i have is 4.4.3 ... i don't find that too recent :s </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 25 Aug 2010 17:26:08 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4592#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4592#comment:3</guid> <description> <p> "Now the think is that the only gcc i have is 4.4.3 ... i don't find that too recent" </p> <p> No me neither :-( </p> <p> I've been bitten by this myself from time to time BTW, and never found a good workaround, seems like the gcc guys keep changing their intrinsics and Intel are forever playing catchup :-( </p> <p> John. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel Falcou</dc:creator> <pubDate>Wed, 25 Aug 2010 17:28:31 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4592#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4592#comment:4</guid> <description> <p> well :-( it renders nt2 unsupported by 11.1 on random machine it seems. I guess I'll work around that locally and wait for some intel solution then. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 26 Aug 2010 12:26:33 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4592#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4592#comment:5</guid> <description> <p> I've been able to reproduce this locally, and will be committing a workaround shortly. In the mean time I've filed a bug report with Intel - it's issue <a class="missing ticket">#600230</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 26 Aug 2010 12:29:30 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4592#comment:6 https://svn.boost.org/trac10/ticket/4592#comment:6 <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/65015" title="Added workaround for Intel compiler, which has sporadic issues with ...">[65015]</a>) Added workaround for Intel compiler, which has sporadic issues with fpclassify on Linux. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4592" title="#4592: Patches: icpc 11.1 fails to compile has_float and related cmath headers (closed: fixed)">#4592</a>. </p> Ticket