Boost C++ Libraries: Ticket #4492: filesystem/v2 wild char stuff https://svn.boost.org/trac10/ticket/4492 <p> A few issues encountered when compiling on a QNX 6.3.0 host (gcc-3.3.5): </p> <p> Here are patches solving the issue. </p> <p> 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 </p> <blockquote> <p> # endif </p> <blockquote> <p> using filesystem2::basic_filesystem_error; using filesystem2::filesystem_error; </p> </blockquote> </blockquote> <p> +# ifndef BOOST_FILESYSTEM2_NARROW_ONLY </p> <blockquote> <p> using filesystem2::wfilesystem_error; </p> </blockquote> <p> +# endif </p> <blockquote> <p> using filesystem2::portable_posix_name; using filesystem2::windows_name; using filesystem2::portable_name; </p> </blockquote> <p> 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 </p> <blockquote> <p> { </p> <blockquote> <p> namespace filesystem2 { </p> </blockquote> </blockquote> <p> +#ifndef BOOST_FILESYSTEM2_NARROW_ONLY </p> <blockquote> <p> bool wpath_traits::imbue( const std::locale &amp; new_loc, const std::nothrow_t &amp; ) { </p> <blockquote> <p> if ( locked ) return false; </p> </blockquote> </blockquote> <p> @@ -171,6 +172,8 @@ namespace boost </p> <blockquote> <p> } </p> </blockquote> <blockquote> <p> # endif <em> BOOST_POSIX_API </em></p> </blockquote> <p> +#endif + </p> <blockquote> <p> } <em> namespace filesystem2 </em></p> </blockquote> <blockquote> <p> } <em> namespace boost </em></p> </blockquote> <p> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4492 Trac 1.4.3 Beman Dawes Tue, 10 Aug 2010 19:48:06 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4492#comment:1 https://svn.boost.org/trac10/ticket/4492#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed as part of the 64623 changes. </p> <p> Thanks for the report! </p> <p> --Beman </p> Ticket