Opened 14 years ago
Closed 14 years ago
#2175 closed Bugs (fixed)
error_code.cpp fails to compile on QNX
| Reported by: | Owned by: | Beman Dawes | |
|---|---|---|---|
| Milestone: | Boost 1.37.0 | Component: | system | 
| Version: | Boost Development Trunk | Severity: | Problem | 
| Keywords: | Cc: | 
Description
This file doesn't compile on QNX. The compiler output is listed as follows:
libs/system/src/error_code.cpp: In member function `virtual std::string
<unnamed>::generic_error_category::message(int) const':
libs/system/src/error_code.cpp:105: error: `strerror_r' undeclared (first use
this function)
libs/system/src/error_code.cpp:105: error: (Each undeclared identifier is
reported only once for each function it appears in.)
libs/system/src/error_code.cpp: In member function `virtual
boost::system::error_condition <unnamed>::system_error_category::default_error_condition(int) const':
libs/system/src/error_code.cpp:160: error: duplicate case value libs/system/src/error_code.cpp:157: error: previously used here
I've added a patch which fixes these errors on my system. This is using the latest version in trunk.
Attachments (1)
Change History (3)
by , 14 years ago
| Attachment: | error_code.cpp.patch added | 
|---|
comment:1 by , 14 years ago
This problem applies to the released boost version 1.35.0, too. Required patch is the same.

Patch for libs/system/src/error_code.cpp