#4487 closed Patches (fixed)
filesystem/v2/operations.hpp : create_hard_link should not be exported all the time
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | Boost 1.44.0 | Component: | filesystem |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
Here is a patch :
diff --git a/boost/filesystem/v2/operations.hpp b/boost/filesystem/v2/operations.hpp index 9bd35cd..3b43fe9 100644 --- a/boost/filesystem/v2/operations.hpp +++ b/boost/filesystem/v2/operations.hpp @@ -1190,3 +1190,5 @@ namespace boost
using filesystem2::create_directory;
+#if defined(BOOST_FS_HARD_LINK)
using filesystem2::create_hard_link;
+#endif
using filesystem2::create_symlink;
Change History (3)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The original problem leads to a compile error when boost::filesystem is compiled for compability with Windows98 (_WIN_NT_0x400).
The provieded patch works fine and should be applied soon.