Boost C++ Libraries: Ticket #7264: xml_archive_exceptions - looser throw specifier of virtual destructors https://svn.boost.org/trac10/ticket/7264 <p> Several related virtual destructors for xml exceptions have looser throw specifications... base classes uses throw(), derived classes do not provide similar specification. See attachment. </p> <p> Example. </p> <p> qcc.compile.c++ D:\boostBuild_QCC_1_51_0\boost\bin.v2\libs\serialization\build\qcc\release\link-static\target-os-qnxnto\threadapi-pthread\threading-multi\xml_woarchive.o In file included from ./boost/archive/impl/basic_xml_oarchive.ipp:22:0, </p> <blockquote> <p> from libs\serialization\src\xml_woarchive.cpp:22: </p> </blockquote> <p> ./boost/archive/xml_archive_exception.hpp:35:44: error: looser throw specifier for 'virtual boost::archive::xml_archive_exception::~xml_archive_exception()' In file included from ./boost/archive/basic_text_oprimitive.hpp:54:0, </p> <blockquote> <p> from ./boost/archive/xml_woarchive.hpp:34, from libs\serialization\src\xml_woarchive.cpp:17: </p> </blockquote> <p> ./boost/archive/archive_exception.hpp:86:5: error: overriding 'virtual boost::archive::archive_exception::~archive_exception() throw ()' cc: d:/qnxsdk/qnxsdk6.5-001/host/win32/x86/usr/lib/gcc/i486-pc-nto-qnx6.5.0/4.7.1/cc1plus caught signal 1 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7264 Trac 1.4.3 steve.lemay@… Wed, 22 Aug 2012 23:57:33 GMT attachment set https://svn.boost.org/trac10/ticket/7264 https://svn.boost.org/trac10/ticket/7264 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">build_log.zip</span> </li> </ul> Ticket Emil Dotchevski Thu, 23 Aug 2012 02:14:27 GMT owner changed https://svn.boost.org/trac10/ticket/7264#comment:1 https://svn.boost.org/trac10/ticket/7264#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Emil Dotchevski</span> to <span class="trac-author">Robert Ramey</span> </li> </ul> <p> Robert, if I'm not mistaken this bug is for you. </p> Ticket Robert Ramey Mon, 10 Sep 2012 16:33:36 GMT <link>https://svn.boost.org/trac10/ticket/7264#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7264#comment:2</guid> <description> <p> OK - looks legitimate. Looks like only Qcc compiler catches this - any idea why? </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Sun, 21 Oct 2012 20:41:35 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/7264#comment:3 https://svn.boost.org/trac10/ticket/7264#comment:3 <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 </p> Ticket anonymous Mon, 20 Oct 2014 05:29:52 GMT <link>https://svn.boost.org/trac10/ticket/7264#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7264#comment:4</guid> <description> <p> how did you fixed? </p> </description> <category>Ticket</category> </item> </channel> </rss>