Boost logo

Boost-Commit :

From: DDeakins_at_[hidden]
Date: 2007-11-24 15:30:50


Author: davedeakins
Date: 2007-11-24 15:30:50 EST (Sat, 24 Nov 2007)
New Revision: 41344
URL: http://svn.boost.org/trac/boost/changeset/41344

Log:
Define the BOOST_NO_SWPRINTF macro for WinCE. WinCE's CRT does not have a conforming swprintf signature.
Text files modified:
   trunk/boost/config/compiler/visualc.hpp | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: trunk/boost/config/compiler/visualc.hpp
==============================================================================
--- trunk/boost/config/compiler/visualc.hpp (original)
+++ trunk/boost/config/compiler/visualc.hpp 2007-11-24 15:30:50 EST (Sat, 24 Nov 2007)
@@ -70,6 +70,11 @@
 # define BOOST_NO_SWPRINTF
 #endif
 
+#if defined(UNDER_CE)
+// Windows CE does not have a conforming signature for swprintf
+# define BOOST_NO_SWPRINTF
+#endif
+
 #if _MSC_VER <= 1400 // 1400 == VC++ 8.0
 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
 #endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk