[Boost-bugs] [Boost C++ Libraries] #2175: error_code.cpp fails to compile on QNX

Subject: [Boost-bugs] [Boost C++ Libraries] #2175: error_code.cpp fails to compile on QNX
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-07 09:43:21


#2175: error_code.cpp fails to compile on QNX
-------------------------------------+--------------------------------------
 Reporter: glyn.matthews_at_[hidden] | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: Boost 1.37.0 | Component: system
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 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.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2175>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC