Boost C++ Libraries: Ticket #4487: filesystem/v2/operations.hpp : create_hard_link should not be exported all the time https://svn.boost.org/trac10/ticket/4487 <p> Here is a patch : </p> <p> 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 </p> <blockquote> <p> using filesystem2::create_directory; </p> </blockquote> <p> +#if defined(BOOST_FS_HARD_LINK) </p> <blockquote> <p> using filesystem2::create_hard_link; </p> </blockquote> <p> +#endif </p> <blockquote> <p> using filesystem2::create_symlink; </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4487 Trac 1.4.3 anonymous Tue, 17 Aug 2010 08:56:45 GMT <link>https://svn.boost.org/trac10/ticket/4487#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4487#comment:1</guid> <description> <p> The original problem leads to a compile error when boost::filesystem is compiled for compability with Windows98 (_WIN_NT_0x400). </p> <p> The provieded patch works fine and should be applied soon. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Beman Dawes</dc:creator> <pubDate>Fri, 10 Sep 2010 12:51:06 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4487#comment:2 https://svn.boost.org/trac10/ticket/4487#comment:2 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/65371" title="Fix #4487 V2 create_hard_link problem with old Windows SDK">[65371]</a>) Fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4487" title="#4487: Patches: filesystem/v2/operations.hpp : create_hard_link should not be exported ... (closed: fixed)">#4487</a> V2 create_hard_link problem with old Windows SDK </p> Ticket lzsaver Thu, 30 Sep 2010 07:07:45 GMT <link>https://svn.boost.org/trac10/ticket/4487#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4487#comment:3</guid> <description> <p> Windows 98 is not in the Windows NT line. ;) </p> </description> <category>Ticket</category> </item> </channel> </rss>