Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64884 - in trunk: boost/filesystem/v3 libs/filesystem/v3/src libs/filesystem/v3/test
From: bdawes_at_[hidden]
Date: 2010-08-18 07:47:16


Author: bemandawes
Date: 2010-08-18 07:47:14 EDT (Wed, 18 Aug 2010)
New Revision: 64884
URL: http://svn.boost.org/trac/boost/changeset/64884

Log:
include <cwchar> for mbstate_t
Text files modified:
   trunk/boost/filesystem/v3/path.hpp | 2 +-
   trunk/boost/filesystem/v3/path_traits.hpp | 1 +
   trunk/libs/filesystem/v3/src/windows_file_codecvt.cpp | 1 +
   trunk/libs/filesystem/v3/test/test_codecvt.hpp | 3 ++-
   4 files changed, 5 insertions(+), 2 deletions(-)

Modified: trunk/boost/filesystem/v3/path.hpp
==============================================================================
--- trunk/boost/filesystem/v3/path.hpp (original)
+++ trunk/boost/filesystem/v3/path.hpp 2010-08-18 07:47:14 EDT (Wed, 18 Aug 2010)
@@ -22,7 +22,7 @@
 # endif
 
 #include <boost/filesystem/v3/config.hpp>
-#include <boost/filesystem/v3/path_traits.hpp>
+#include <boost/filesystem/v3/path_traits.hpp> // includes <cwchar>
 #include <boost/system/error_code.hpp>
 #include <boost/system/system_error.hpp>
 #include <boost/iterator/iterator_facade.hpp>

Modified: trunk/boost/filesystem/v3/path_traits.hpp
==============================================================================
--- trunk/boost/filesystem/v3/path_traits.hpp (original)
+++ trunk/boost/filesystem/v3/path_traits.hpp 2010-08-18 07:47:14 EDT (Wed, 18 Aug 2010)
@@ -20,6 +20,7 @@
 #include <boost/utility/enable_if.hpp>
 #include <boost/type_traits/is_array.hpp>
 #include <boost/system/error_code.hpp>
+#include <cwchar> // for mbstate_t
 #include <string>
 #include <vector>
 #include <iterator>

Modified: trunk/libs/filesystem/v3/src/windows_file_codecvt.cpp
==============================================================================
--- trunk/libs/filesystem/v3/src/windows_file_codecvt.cpp (original)
+++ trunk/libs/filesystem/v3/src/windows_file_codecvt.cpp 2010-08-18 07:47:14 EDT (Wed, 18 Aug 2010)
@@ -25,6 +25,7 @@
 #endif
 
 #include <boost/filesystem/v3/config.hpp>
+#include <cwchar> // for mbstate_t
 
 #ifdef BOOST_WINDOWS_API
 

Modified: trunk/libs/filesystem/v3/test/test_codecvt.hpp
==============================================================================
--- trunk/libs/filesystem/v3/test/test_codecvt.hpp (original)
+++ trunk/libs/filesystem/v3/test/test_codecvt.hpp 2010-08-18 07:47:14 EDT (Wed, 18 Aug 2010)
@@ -11,7 +11,8 @@
 #define BOOST_FILESYSTEM3_TEST_CODECVT_HPP
 
 #include <boost/filesystem/v3/config.hpp>
-#include <locale>
+#include <locale>
+#include <cwchar> // for mbstate_t
 
   //------------------------------------------------------------------------------------//
   // //


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