[test][msvc-6.0] execution_monitor.ipp broken in rev 40154

Hello, the latest changes or Boost.Test on the trunk make MSVC++ 6.5 choke on just including <boost/test/included/test_exec_monitor.hpp>, with the following: ...\boost\test\impl\execution_monitor.ipp(883) : error C2061: syntax error : identifier 'uintptr_t' ...\boost\test\impl\execution_monitor.ipp(1045) : error C2039: 'strerror' : is not a member of 'std' [the rest deleted as it does not look interesting] Th strerror problem is simple to fix (see attached patch). As for unitptr_t, AFAIK this is not a standard C++ type, and <boost/cstdint.hpp> does not provide an alternative, so I don't know what could be done without further contextual info. Gennadiy, if you want I can locally test any changes you provide me with in MSVC++ 6.5 so as to try to remedy these problems. Thank you, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo Index: execution_monitor.ipp =================================================================== --- execution_monitor.ipp (revision 40154) +++ execution_monitor.ipp (working copy) @@ -46,7 +46,7 @@ #include <cstdarg> // for varargs #ifdef BOOST_NO_STDC_NAMESPACE -namespace std { using ::strlen; using ::strncat; } +namespace std { using ::strerror; using ::strlen; using ::strncat; } #endif #if defined(_WIN32) && !defined(BOOST_DISABLE_WIN32) && \

Joaquín Mª López Muñoz <joaquin <at> tid.es> writes:
Hello, the latest changes or Boost.Test on the trunk make MSVC++ 6.5 choke on just including <boost/test/included/test_exec_monitor.hpp>, with the following:
Hi Gennadiy, I see you've fixed this problem at rev 40172, thank you! I've taken the liberty to extend your fix to Intel 7.1, where the problem also shows, see http://svn.boost.org/trac/boost/changeset/40284 Please let me know if you see something wrong with the change or if you prefer to be provided with the patches so that you control the commits yourself. Best, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
participants (2)
-
Joaquin M Lopez Munoz
-
Joaquín Mª López Muñoz