Opened 12 years ago
Closed 12 years ago
#4248 closed Bugs (fixed)
Filesystem library uses deprecated components of System library
| Reported by: | 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
Note:
See TracTickets
for help on using tickets.

Fixed. Thanks for the report,
--Beman