Boost logo

Boost :

Subject: [boost] [test] Fix WinCE workaround
From: Jan Hudec (bulb_at_[hidden])
Date: 2012-08-17 16:49:27


Hello Folks,

boost/test/impl/execution_monitor.ipp has workaround for older MSVC++ and
assumes WinCE version need it too. However the WinCE compiler caught up in
next version. Here is a proposed patch:

--- a/boost/test/impl/execution_monitor.ipp
+++ b/boost/test/impl/execution_monitor.ipp
@@ -84,7 +84,7 @@ using std::va_list;
     typedef unsigned uintptr_t;
 # endif
 
-# if BOOST_WORKAROUND(_MSC_VER, < 1300 ) || defined(UNDER_CE)
+# if BOOST_WORKAROUND(_MSC_VER, < 1300 ) || (defined(UNDER_CE) && BOOST_WORKAROUND(_MSC_VER, < 1500 ))
 typedef void* uintptr_t;
 # endif
 

-- 
						 Jan 'Bulb' Hudec <bulb_at_[hidden]>

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk