Boost C++ Libraries: Ticket #5708: VC++6 can not compile assert.hpp header https://svn.boost.org/trac10/ticket/5708 <p> VC++6 has a little problem with std::exit (compiler can not find this function). It is possible to fix this bug by replacing <br /> </p> <pre class="wiki">#if defined(UNDER_CE) // The Windows CE CRT library does not have std::abort() so use exit(-1) instead. std::exit(-1); #else </pre><p> <br /> (line 104 of boost/assert.hpp) with </p> <pre class="wiki">#if defined(UNDER_CE) || BOOST_WORKAROUND(BOOST_MSVC,&lt;1300) // The Windows CE CRT library and VC++6 does not have std::abort() so use exit(-1) instead. using namespace std; exit(-1); #else </pre><p> But I`m not sure about portability of this bugfix. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5708 Trac 1.4.3 Antony Polukhin Sun, 17 Jul 2011 20:05:17 GMT owner, version, type, summary changed https://svn.boost.org/trac10/ticket/5708#comment:1 https://svn.boost.org/trac10/ticket/5708#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">No-Maintainer</span> to <span class="trac-author">Beman Dawes</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.47.0</span> → <span class="trac-field-new">Boost Development Trunk</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Patches</span> </li> <li><strong>summary</strong> <span class="trac-field-old">VC++6 can not compile some assert.hpp header</span> → <span class="trac-field-new">VC++6 can not compile assert.hpp header</span> </li> </ul> Ticket Antony Polukhin Mon, 18 Jul 2011 13:36:57 GMT <link>https://svn.boost.org/trac10/ticket/5708#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5708#comment:2</guid> <description> <p> You also need to add header </p> <pre class="wiki">#include &lt;boost/detail/workaround.hpp&gt; </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Sun, 16 Oct 2011 23:05:47 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5708#comment:3 https://svn.boost.org/trac10/ticket/5708#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">wontfix</span> </li> </ul> <p> VC6 is unsupported. </p> Ticket