Boost C++ Libraries: Ticket #6740: small fix for boost/config/compiler/clang.hpp https://svn.boost.org/trac10/ticket/6740 <p> Here's a small patch for boost/config/compiler/clang.hpp that fixes a redefinition error when compiling with clang and -DBOOST_NO_EXCEPTIONS </p> <div class="wiki-code"> <div class="diff"> <ul class="entries"> <li class="entry"> <h2> <a>boost/config/compiler/clang.hpp</a> </h2> <table class="trac-diff inline" cellspacing="0"> <colgroup> <col class="lineno"/><col class="lineno"/><col class="content"/> </colgroup> <thead> <tr> <th title="File boost/config/compiler/clang.hpp~ 2012-03-28 22:01:00.000000000 +0200"> old </th> <th title="File boost/config/compiler/clang.hpp 2012-03-28 22:17:15.000000000 +0200"> new </th> <td> <em></em> &nbsp; </td> </tr> </thead> <tbody class="unmod"> <tr> <th>8</th><th>8</th><td class="l"><span></span></td> </tr> <tr> <th>9</th><th>9</th><td class="l"><span>// Clang compiler setup.</span></td> </tr> <tr> <th>10</th><th>10</th><td class="l"><span></span></td> </tr> </tbody> <tbody class="mod"> <tr class="first"> <th>11</th><th>&nbsp;</th><td class="l"><span>#if __has_feature(cxx_exceptions) &amp;&amp; !defined(BOOST_NO_EXCEPTIONS)</span></td> </tr> <tr> <th>12</th><th>&nbsp;</th><td class="l"><span>#else</span></td> </tr> <tr class="last"> <th>&nbsp;</th><th>11</th><td class="r"><span>#if !__has_feature(cxx_exceptions) &amp;&amp; !defined(BOOST_NO_EXCEPTIONS)</span></td> </tr> </tbody> <tbody class="unmod"> <tr> <th>13</th><th>12</th><td class="l"><span>#&nbsp; define BOOST_NO_EXCEPTIONS</span></td> </tr> <tr> <th>14</th><th>13</th><td class="l"><span>#endif</span></td> </tr> </tbody> </table> </li> </ul> </div></div> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6740 Trac 1.4.3 Michel Morin Fri, 30 Mar 2012 12:43:22 GMT <link>https://svn.boost.org/trac10/ticket/6740#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6740#comment:1</guid> <description> <p> This seems a copy-and-paste error in the fix for <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4059" title="#4059: Patches: config/compiler/gcc.hpp should not redefine BOOST_NO_EXCEPTIONS (closed: fixed)">#4059</a> (should not redefine BOOST_NO_EXCEPTIONS). John, I'm going to apply the patch. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Michel Morin</dc:creator> <pubDate>Fri, 30 Mar 2012 12:51:51 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6740#comment:2 https://svn.boost.org/trac10/ticket/6740#comment:2 <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/77643" title="Avoid redefinition of BOOST_NO_EXCEPTIONS; fixes #6740">[77643]</a>) Avoid redefinition of BOOST_NO_EXCEPTIONS; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6740" title="#6740: Patches: small fix for boost/config/compiler/clang.hpp (closed: fixed)">#6740</a> </p> Ticket Michel Morin Fri, 30 Mar 2012 12:53:50 GMT <link>https://svn.boost.org/trac10/ticket/6740#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6740#comment:3</guid> <description> <p> Thank you for the report and the fix! </p> </description> <category>Ticket</category> </item> </channel> </rss>