[Boost-bugs] [Boost C++ Libraries] #5708: VC++6 can not compile some assert.hpp header

Subject: [Boost-bugs] [Boost C++ Libraries] #5708: VC++6 can not compile some assert.hpp header
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-17 19:57:35


#5708: VC++6 can not compile some assert.hpp header
------------------------------+---------------------------------------------
 Reporter: apolukhin | Owner: no-maintainer
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: utility
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 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]]
 {{{
 #if defined(UNDER_CE)
     // The Windows CE CRT library does not have std::abort() so use
 exit(-1) instead.
     std::exit(-1);
 #else
 }}}
 [[BR]]
 (line 104 of boost/assert.hpp) with
 {{{
 #if defined(UNDER_CE) || BOOST_WORKAROUND(BOOST_MSVC,<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
 }}}

 But I`m not sure about portability of this bugfix.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5708>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC