Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4487 closed Patches (fixed)

filesystem/v2/operations.hpp : create_hard_link should not be exported all the time

Reported by: Jérôme Carretero <cJ-boost@…> 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 anonymous, 12 years ago

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.

comment:2 by Beman Dawes, 12 years ago

Resolution: fixed
Status: newclosed

(In [65371]) Fix #4487 V2 create_hard_link problem with old Windows SDK

comment:3 by lzsaver, 12 years ago

Windows 98 is not in the Windows NT line. ;)

Note: See TracTickets for help on using tickets.