Opened 14 years ago

Closed 14 years ago

#2461 closed Bugs (fixed)

Missing get_posix_category function.

Reported by: Dean Michael Berris Owned by: Beman Dawes
Milestone: Boost 1.37.0 Component: system
Version: Boost 1.36.0 Severity: Regression
Keywords: Cc:

Description

When building on Linux with GCC 4.3.2 and linking applications that depend on libraries that in turn depend on Boost.System, a failure occurs looking for boost::system::get_posix_category() .

Attached is a patch that addresses this issue.

Attachments (2)

boost-system-error_code.hpp.patch (652 bytes ) - added by Dean Michael Berris 14 years ago.
Patch to error_code.hpp
boost-system-error_code.cpp.patch (472 bytes ) - added by Dean Michael Berris 14 years ago.
Patch to error_code.cpp

Download all attachments as: .zip

Change History (5)

by Dean Michael Berris, 14 years ago

Patch to error_code.hpp

by Dean Michael Berris, 14 years ago

Patch to error_code.cpp

comment:1 by Beman Dawes, 14 years ago

Status: newassigned

Yeah, for strict backward compatibility get_posix_category() should be supplied.

It is too late for 1.37.0, however.

Thanks for the report,

--Beman

in reply to:  1 comment:2 by Dean Michael Berris, 14 years ago

Replying to bemandawes:

Yeah, for strict backward compatibility get_posix_category() should be supplied.

Oddly enough this occurs in 1.36.0 and when using Boost.Date_time -- I'm not sure if this bug is related to how Boost.Date_time in 1.36.0 is using Boost.System.

It is too late for 1.37.0, however.

It's alright. Perhaps this will make it into trunk/1.38.0?

Thanks for the report,

You're welcome, and thanks for the quick response.

comment:3 by Beman Dawes, 14 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.