Boost C++ Libraries: Ticket #6807: interval rounded_arith.hpp compilation issues (clang) https://svn.boost.org/trac10/ticket/6807 <p> It appears that the rounded _artith_* classes fail to compile (at least with my version of clang : Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)) </p> <p> The issue appears for both rounded_arith_std and rounded_arith_opp when they try to call the "to_int" static method of the Rounding mother class (which is a template parameter). Replacing the call of to_int(...) by Rounding::to_int appears to solve the issue. But I did not check if such issue was present at other places. </p> <p> I have attached a patch file for this header that appears to compile properly. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6807 Trac 1.4.3 Frederic Py <fredpy@…> Wed, 18 Apr 2012 15:52:07 GMT attachment set https://svn.boost.org/trac10/ticket/6807 https://svn.boost.org/trac10/ticket/6807 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">rounded_arith.diff</span> </li> </ul> <p> patch file for boost/numeric/interval/rounded_arith.hpp </p> Ticket Luca Di Gaspero <l.digaspero@…> Tue, 28 Aug 2012 13:43:08 GMT <link>https://svn.boost.org/trac10/ticket/6807#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6807#comment:1</guid> <description> <p> It's a bit annoying that 4 months after the bug fix, the patch is not included yet into the official distribution. I also had to manually edit the include file (which will be overwritten by a boost update on my mac). There are 4 lines of code to be changed! </p> </description> <category>Ticket</category> </item> <item> <author>Luca Di Gaspero <l.digaspero@…></author> <pubDate>Tue, 28 Aug 2012 13:44:35 GMT</pubDate> <title>version, type, milestone changed; cc set https://svn.boost.org/trac10/ticket/6807#comment:2 https://svn.boost.org/trac10/ticket/6807#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">l.digaspero@…</span> added </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.49.0</span> → <span class="trac-field-new">Boost 1.50.0</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Patches</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.52.0</span> </li> </ul> Ticket anonymous Mon, 11 Mar 2013 08:30:30 GMT <link>https://svn.boost.org/trac10/ticket/6807#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6807#comment:3</guid> <description> <p> I'm experiencing the same problem when compiling with gcc-4.7. </p> </description> <category>Ticket</category> </item> </channel> </rss>