Boost C++ Libraries: Ticket #6349: use of missing ::abort https://svn.boost.org/trac10/ticket/6349 <p> The following tester seems to don't have ::abort </p> <pre class="wiki">Test output: VeecoFTC - thread - test_futures / msvc-9.0~wm5~stlport5.2 Rev 76100 / Thu, 22 Dec 2011 05:40:08 +0000 Report Time: Mon, 2 Jan 2012 07:46:13 +0000 Compile [2011-12-23 13:43:44 UTC]: fail call "%BOOST_ROOT%/TestTools/VSVars32-VC9-WM5.bat" x86 &gt;nul cl /Zm800 -nologo @"D:\BoostRT\results\boost\bin.v2\libs\thread\test\test_futures.test\msvc-9.0~wm5~stlport5.2\debug\stdlib-stlport-5.2~evc9~arm\test_futures.obj.rsp" test_futures.cpp D:\BoostRT\boost\boost/exception/detail/exception_ptr.hpp(460) : error C2039: 'abort' : is not a member of 'stlpd_std' D:\BoostRT\boost\boost/exception/detail/exception_ptr.hpp(460) : error C3861: 'abort': identifier not found </pre><p> Is there something that can be done to work on this tester? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6349 Trac 1.4.3 ulrich.eckhardt@… Wed, 11 Jan 2012 16:10:37 GMT keywords set https://svn.boost.org/trac10/ticket/6349#comment:1 https://svn.boost.org/trac10/ticket/6349#comment:1 <ul> <li><strong>keywords</strong> wince added </li> </ul> <p> Same problem here, using Boost 1.48. The target platform is MS Windows CE 6 with STLport 5.2 and MSVC 8.0 (VS 2005). There is a workaround in a different place already that simply checks </p> <pre class="wiki"> #if defined(UNDER_CE) // some CE platforms don't define ::abort(), let alone std::abort() exit(-1); #else abort(); #endif </pre><p> I have found other places that use abort() to e.g. mark code as unreachable. They could use similar workarounds. I'm just in the process of migrating to 1.48 but I should be able to produce a patch for this. </p> <p> See also bug <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5213" title="#5213: Bugs: Boost 1.46 headers no longer compile on WinCE (closed: fixed)">#5213</a>. </p> Ticket viboes Mon, 26 Mar 2012 21:14:31 GMT type changed; cc set https://svn.boost.org/trac10/ticket/6349#comment:2 https://svn.boost.org/trac10/ticket/6349#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">viboes</span> added </li> <li><strong>type</strong> <span class="trac-field-old">Support Requests</span> → <span class="trac-field-new">Bugs</span> </li> </ul> <p> Any new on this? </p> Ticket Ulrich Eckhardt <ulrich.eckhardt@…> Tue, 27 Mar 2012 17:28:00 GMT <link>https://svn.boost.org/trac10/ticket/6349#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6349#comment:3</guid> <description> <p> Sorry, I've been distracted by different things, but it's still on my TODO list... </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Emil Dotchevski</dc:creator> <pubDate>Tue, 27 Mar 2012 19:35:39 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6349#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6349#comment:4</guid> <description> <p> Please check if trunk revision 77593 fixes the problem. </p> </description> <category>Ticket</category> </item> <item> <author>Ulrich Eckhardt <ulrich.eckhardt@…></author> <pubDate>Tue, 03 Apr 2012 07:54:15 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6349#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6349#comment:5</guid> <description> <p> No, <a class="changeset" href="https://svn.boost.org/trac10/changeset/77593" title="This should take care of #6349. Hopefully doesn't break some other ...">r77593</a> doesn't help. Neither CE5 nor CE6 have an abort() function anywhere. </p> <p> BTW: If you commit with "(refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6349" title="#6349: Bugs: use of missing ::abort (closed: fixed)">#6349</a>)" in the commit message, TRAC automatically makes a note in the according bug ticket, so you don't have to add one yourself. All subscribers of the ticket also get an automatic notification. </p> </description> <category>Ticket</category> </item> <item> <author>serggzz@…</author> <pubDate>Fri, 13 Apr 2012 12:50:22 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6349#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6349#comment:6</guid> <description> <p> As I see this bug steel exists, <a class="ext-link" href="https://svn.boost.org/trac/boost/search?q=std%3A%3Aabort&amp;noquickjump=1&amp;ticket=on"><span class="icon">​</span>https://svn.boost.org/trac/boost/search?q=std%3A%3Aabort&amp;noquickjump=1&amp;ticket=on</a> </p> <ul><li>Does anybody know why assert.hpp is so often included after config.hpp? I'm intended to use BOOST_USER_CONFIG to figure this problem out but now it's impossible. Examples are: </li></ul><p> <br /> &lt;boost/ptr_container/ptr_vector.hpp&gt; =&gt; &lt;boost/ptr_container/ptr_sequence_adapter.hpp&gt; =&gt; &lt;boost/ptr_container/detail/reversible_ptr_container.hpp&gt; =&gt; &lt;boost/ptr_container/detail/throw_exception.hpp&gt; =&gt; #include &lt;boost/assert.hpp&gt; #include &lt;boost/config.hpp&gt; <br /> &lt;boost/scoped_ptr.hpp&gt; =&gt; &lt;boost/smart_ptr/scoped_ptr.hpp&gt; =&gt; the first include is #include &lt;boost/assert.hpp&gt; I think that &lt;boost/config.hpp&gt; must be the first include every time. </p> <ul><li>It's only my curiosity why there are no any guards in assert.hpp and it's intended? </li></ul> </description> <category>Ticket</category> </item> <item> <dc:creator>Emil Dotchevski</dc:creator> <pubDate>Fri, 13 Apr 2012 18:34:52 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6349#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6349#comment:7</guid> <description> <p> assert.hpp probably follows the design of assert.h, which lacks include guards so that it can be included multiple times within the same source file, with different combination of _DEBUG/NDEBUG defined. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>David Deakins</dc:creator> <pubDate>Mon, 23 Apr 2012 04:33:00 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/6349 https://svn.boost.org/trac10/ticket/6349 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-exception-exception_ptr.hpp.3.patch</span> </li> </ul> Ticket David Deakins Mon, 23 Apr 2012 04:33:40 GMT <link>https://svn.boost.org/trac10/ticket/6349#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6349#comment:8</guid> <description> <p> Hi Emil, </p> <p> Since this issue with abort is disrupting a lot of test result reporting for Windows CE, do you mind if I apply the attached patch for this issue or would you like to do it yourself? </p> <p> Thanks, -Dave </p> </description> <category>Ticket</category> </item> <item> <dc:creator>David Deakins</dc:creator> <pubDate>Wed, 25 Apr 2012 03:57:15 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6349#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6349#comment:9</guid> <description> <p> Committed the patch. Will let the tests cycle and confirm that the issue is resolved. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>David Deakins</dc:creator> <pubDate>Fri, 27 Apr 2012 15:24:10 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6349#comment:10 https://svn.boost.org/trac10/ticket/6349#comment:10 <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> Ticket