Opened 13 years ago
Closed 13 years ago
#3113 closed Bugs (fixed)
[system] build failure when BOOST_SYSTEM_NO_DEPRECATED defined
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | Boost 1.40.0 | Component: | system |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
The system library fails to build when BOOST_SYSTEM_NO_DEPRECATED is defined, because error_code.cpp does a
using namespace boost::system::posix_error;
and posix_error doesn't exist if BOOST_SYSTEM_NO_DEPRECATED is defined. Should perhaps be
using namespace boost::system::errc;
instead?
Note:
See TracTickets
for help on using tickets.
(In [53460]) System: fix #3113