Boost logo

Boost :

From: Michael Glassford (glassfordm_at_[hidden])
Date: 2004-07-06 12:49:05


Two minor changes for WinCE compatibility, to be used by Boost.Threads.
I can commit the changes myself, but didn't want to mess with the config
files without bringing it up here first.

Mike

Index: boost/config/compiler/visualc.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/config/compiler/visualc.hpp,v
retrieving revision 1.37
diff -u -r1.37 visualc.hpp
--- boost/config/compiler/visualc.hpp 22 Jun 2004 12:33:06 -0000 1.37
+++ boost/config/compiler/visualc.hpp 6 Jul 2004 17:44:02 -0000
@@ -17,7 +17,7 @@
  // turn off the warnings before we #include anything
  #pragma warning( disable : 4503 ) // warning: decorated name length
exceeded

-#if _MSC_VER <= 1200 // 1200 == VC++ 6.0
+#if _MSC_VER <= 1201 // 1200 == VC++ 6.0, 1201 == EVC4.2
  #pragma warning( disable : 4786 ) // ident trunc to '255' chars in
debug info
  # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
  # define BOOST_NO_VOID_RETURNS
@@ -73,6 +73,11 @@
  # define BOOST_NO_INTRINSIC_WCHAR_T
  #endif

+#ifdef _WIN32_WCE
+# define BOOST_NO_THREADEX
+# define BOOST_NO_GETSYSTEMTIMEASFILETIME
+#endif
+
  //
  // check for exception handling support:
  #ifndef _CPPUNWIND


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