[Boost-bugs] [Boost C++ Libraries] #4492: filesystem/v2 wild char stuff

Subject: [Boost-bugs] [Boost C++ Libraries] #4492: filesystem/v2 wild char stuff
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-29 19:04:09


#4492: filesystem/v2 wild char stuff
-----------------------------------------------------+----------------------
 Reporter: Jérôme Carretero <cJ-boost@…> | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: filesystem
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-----------------------------------------------------+----------------------
 A few issues encountered when compiling on a QNX 6.3.0 host (gcc-3.3.5):

 Here are patches solving the issue.

 diff --git a/boost/filesystem/v2/path.hpp b/boost/filesystem/v2/path.hpp
 index c17208f..b9533aa 100644
 --- a/boost/filesystem/v2/path.hpp
 +++ b/boost/filesystem/v2/path.hpp
 @@ -1539,7 +1539,9 @@ namespace boost
  # endif
      using filesystem2::basic_filesystem_error;
      using filesystem2::filesystem_error;
 +# ifndef BOOST_FILESYSTEM2_NARROW_ONLY
      using filesystem2::wfilesystem_error;
 +# endif
      using filesystem2::portable_posix_name;
      using filesystem2::windows_name;
      using filesystem2::portable_name;


 diff --git a/libs/filesystem/v2/src/v2_path.cpp
 b/libs/filesystem/v2/src/v2_path.cpp
 index b1a2f29..7d8e317 100644
 --- a/libs/filesystem/v2/src/v2_path.cpp
 +++ b/libs/filesystem/v2/src/v2_path.cpp
 @@ -74,6 +74,7 @@ namespace boost
  {
    namespace filesystem2
    {
 +#ifndef BOOST_FILESYSTEM2_NARROW_ONLY
      bool wpath_traits::imbue( const std::locale & new_loc, const
 std::nothrow_t & )
      {
        if ( locked ) return false;
 @@ -171,6 +172,8 @@ namespace boost
      }
  # endif // BOOST_POSIX_API

 +#endif
 +
    } // namespace filesystem2
  } // namespace boost

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4492>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC