Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55584 - trunk/libs/serialization/test
From: DDeakins_at_[hidden]
Date: 2009-08-14 13:06:31


Author: davedeakins
Date: 2009-08-14 13:06:30 EDT (Fri, 14 Aug 2009)
New Revision: 55584
URL: http://svn.boost.org/trac/boost/changeset/55584

Log:
Even though Windows CE has BOOST_NO_STDC_NAMESPACE defined (since STLport doesn't always move everything to std::), numeric_limits and w_int are not in the global namespace.
Text files modified:
   trunk/libs/serialization/test/test_complex.cpp | 2 ++
   trunk/libs/serialization/test/test_non_default_ctor.cpp | 2 ++
   trunk/libs/serialization/test/test_non_intrusive.cpp | 2 ++
   trunk/libs/serialization/test/test_utf8_codecvt.cpp | 2 ++
   4 files changed, 8 insertions(+), 0 deletions(-)

Modified: trunk/libs/serialization/test/test_complex.cpp
==============================================================================
--- trunk/libs/serialization/test/test_complex.cpp (original)
+++ trunk/libs/serialization/test/test_complex.cpp 2009-08-14 13:06:30 EDT (Fri, 14 Aug 2009)
@@ -19,7 +19,9 @@
 #if defined(BOOST_NO_STDC_NAMESPACE)
 namespace std{
     using ::remove;
+#ifndef UNDER_CE
     using ::numeric_limits;
+#endif
 }
 #endif
 

Modified: trunk/libs/serialization/test/test_non_default_ctor.cpp
==============================================================================
--- trunk/libs/serialization/test/test_non_default_ctor.cpp (original)
+++ trunk/libs/serialization/test/test_non_default_ctor.cpp 2009-08-14 13:06:30 EDT (Fri, 14 Aug 2009)
@@ -25,7 +25,9 @@
     using ::rand;
     using ::fabs;
     using ::remove;
+#ifndef UNDER_CE
     using ::numeric_limits;
+#endif
 }
 #endif
 

Modified: trunk/libs/serialization/test/test_non_intrusive.cpp
==============================================================================
--- trunk/libs/serialization/test/test_non_intrusive.cpp (original)
+++ trunk/libs/serialization/test/test_non_intrusive.cpp 2009-08-14 13:06:30 EDT (Fri, 14 Aug 2009)
@@ -24,7 +24,9 @@
     using ::rand;
     using ::fabs;
     using ::remove;
+#ifndef UNDER_CE
     using ::numeric_limits;
+#endif
 }
 #endif
 

Modified: trunk/libs/serialization/test/test_utf8_codecvt.cpp
==============================================================================
--- trunk/libs/serialization/test/test_utf8_codecvt.cpp (original)
+++ trunk/libs/serialization/test/test_utf8_codecvt.cpp 2009-08-14 13:06:30 EDT (Fri, 14 Aug 2009)
@@ -22,7 +22,9 @@
 namespace std{
     using ::size_t;
     using ::wcslen;
+#ifndef UNDER_CE
     using ::w_int;
+#endif
 } // namespace std
 #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