[Boost-bugs] [Boost C++ Libraries] #1542: [test] compiler errors when building with stdcxx library

Subject: [Boost-bugs] [Boost C++ Libraries] #1542: [test] compiler errors when building with stdcxx library
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-27 21:49:20


#1542: [test] compiler errors when building with stdcxx library
-------------------------------------+--------------------------------------
 Reporter: faridz_at_[hidden] | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: Boost 1.35.0 | Component: test
  Version: Boost Development Trunk | Severity: Showstopper
 Keywords: |
-------------------------------------+--------------------------------------
 The [http://incubator.apache.org/stdcxx/ stdcxx] is the another
 implementation of the STL (initially based on RogueWave STL).

   The following errors are encountered when running boost regression tests
 on msvc with stdcxx-4.2.0.

 {{{
 ..\boost\test\impl\debug.ipp(827) : error C2039: 'memset' : is not a
 member of 'std'

 ..\boost\test\impl\execution_monitor.ipp(792) : error C3861:
 '_set_se_translator': identifier not found, even with argument-dependent
 lookup
 ..\boost\test\impl\execution_monitor.ipp(987) : error C3861:
 '_set_se_translator': identifier not found, even with argument-dependent
 lookup
 }}}

   The proposed patch:
 {{{
 --- boost\test\impl\debug.ipp
 +++ boost\test\impl\debug.ipp
 @@ -32,6 +32,7 @@
  # include <windows.h>
  # include <winreg.h>
  # include <cstdio>
 +# include <cstring> // for std::memset()

  # if !defined(NDEBUG) && defined(_MSC_VER)
  # define BOOST_MS_CRT_BASED_DEBUG

 --- boost\test\impl\execution_monitor.ipp
 +++ boost\test\impl\execution_monitor.ipp
 @@ -65,7 +65,7 @@

  # include <windows.h>

 -# if defined(__MWERKS__)
 +# if defined(__MWERKS__) || defined(_MSC_VER)
  # include <eh.h>
  # endif
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1542>
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:49:57 UTC