Boost C++ Libraries: Ticket #7867: shared_ptr not usable with exceptions disabled on clang https://svn.boost.org/trac10/ticket/7867 <pre class="wiki">In file included from /home/mgaunard/dev/boost/trunk/boost/make_shared.hpp:15: In file included from /home/mgaunard/dev/boost/trunk/boost/smart_ptr/make_shared.hpp:18: In file included from /home/mgaunard/dev/boost/trunk/boost/smart_ptr/make_shared_array.hpp:13: In file included from /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_deleter.hpp:12: /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:48:17: error: cannot use 'throw' with exceptions disabled throw; ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:41:13: error: cannot use 'try' with exceptions disabled try { ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:96:17: error: cannot use 'throw' with exceptions disabled throw; ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:89:13: error: cannot use 'try' with exceptions disabled try { ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:109:17: error: cannot use 'throw' with exceptions disabled throw; ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:102:13: error: cannot use 'try' with exceptions disabled try { ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:125:17: error: cannot use 'throw' with exceptions disabled throw; ^ /home/mgaunard/dev/boost/trunk/boost/smart_ptr/detail/array_utility.hpp:118:13: error: cannot use 'try' with exceptions disabled try { ^ 8 errors generated. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7867 Trac 1.4.3 Peter Dimov Tue, 08 Jan 2013 14:48:32 GMT owner changed; cc set https://svn.boost.org/trac10/ticket/7867#comment:1 https://svn.boost.org/trac10/ticket/7867#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">pdimov@…</span> added </li> <li><strong>owner</strong> changed from <span class="trac-author">Peter Dimov</span> to <span class="trac-author">Glen Fernandes</span> </li> </ul> Ticket Glen Fernandes Tue, 08 Jan 2013 21:45:05 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7867#comment:2 https://svn.boost.org/trac10/ticket/7867#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> Fixed in <a class="changeset" href="https://svn.boost.org/trac10/changeset/82408" title="Support BOOST_NO_EXCEPTIONS in detail/array_utility.hpp to allow use ...">[82408]</a> (glenfe). </p> Ticket Peter Dimov Tue, 08 Jan 2013 21:50:00 GMT <link>https://svn.boost.org/trac10/ticket/7867#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7867#comment:3</guid> <description> <p> I generally leave tickets open until the fix is merged to release. It's less likely this way for a fix to remain trunk-only. </p> </description> <category>Ticket</category> </item> <item> <author>matemaciek@…</author> <pubDate>Fri, 22 Feb 2013 12:44:14 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/7867#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7867#comment:4</guid> <description> <p> I've just updated to 1.53.0, simmilar problem in different place: </p> <pre class="wiki">/some_path/include/boost/smart_ptr/detail/shared_count.hpp:135:13: error: cannot use 'throw' with exceptions disabled throw; ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:128:9: error: cannot use 'try' with exceptions disabled try ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:172:13: error: cannot use 'throw' with exceptions disabled throw; ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:165:9: error: cannot use 'try' with exceptions disabled try ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:204:13: error: cannot use 'throw' with exceptions disabled throw; ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:197:9: error: cannot use 'try' with exceptions disabled try ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:248:13: error: cannot use 'throw' with exceptions disabled throw; ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:234:9: error: cannot use 'try' with exceptions disabled try ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:296:13: error: cannot use 'throw' with exceptions disabled throw; ^ /some_path/include/boost/smart_ptr/detail/shared_count.hpp:282:9: error: cannot use 'try' with exceptions disabled try ^ </pre> </description> <category>Ticket</category> </item> <item> <author>matemaciek@…</author> <pubDate>Fri, 22 Feb 2013 13:06:43 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/7867#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7867#comment:5</guid> <description> <p> Nevermind, I see that coresponding ifndefs are present in that file, so it's something with my environment... </p> </description> <category>Ticket</category> </item> </channel> </rss>