Opened 12 years ago
Closed 12 years ago
#4492 closed Bugs (fixed)
filesystem/v2 wild char stuff
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | Boost 1.44.0 | Component: | filesystem |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
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
Fixed as part of the 64623 changes.
Thanks for the report!
--Beman