Opened 13 years ago

Closed 13 years ago

#3113 closed Bugs (fixed)

[system] build failure when BOOST_SYSTEM_NO_DEPRECATED defined

Reported by: Richard Webb <richard.webb@…> 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?

Change History (1)

comment:1 by Beman Dawes, 13 years ago

Resolution: fixed
Status: newclosed

(In [53460]) System: fix #3113

Note: See TracTickets for help on using tickets.