Opened 12 years ago

Closed 12 years ago

#4248 closed Bugs (fixed)

Filesystem library uses deprecated components of System library

Reported by: Piotr Danilewski <pdanilewski@…> Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost Development Trunk Severity: Cosmetic
Keywords: filesystem Cc:

Description

Filesystem is using deprecated namespace names (posix instead of errc) of the System library.

The following fails to compile:

#define BOOST_WINDOWS_API
#define BOOST_SYSTEM_NO_DEPRECATED
#define BOOST_FILESYSTEM_NO_DEPRECATED
#include <boost/filesystem.hpp>
int main() {}

I am using Boost 1.42, but just checked what is in svn repository and didn't see it corrected.

Thank you

Change History (1)

comment:1 by Beman Dawes, 12 years ago

Resolution: fixed
Status: newclosed

Fixed. Thanks for the report,

--Beman

Note: See TracTickets for help on using tickets.