[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-bugs
Subject:    [Boost-bugs] [Boost C++ Libraries] #4492: filesystem/v2 wild char
From:       "Boost C++ Libraries" <noreply () lists ! boost ! org>
Date:       2010-07-29 19:04:09
Message-ID: 070.d877fd4d0a3650e2378c437c64fd9209 () lists ! boost ! org
[Download RAW message or body]

#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.
_______________________________________________
Boost-bugs mailing list
Boost-bugs@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic