Subject: [Boost-bugs] [Boost C++ Libraries] #3239: duplicate case value in error_code.cpp on mipsel
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-02 20:23:53
#3239: duplicate case value in error_code.cpp on mipsel
----------------------------------+-----------------------------------------
Reporter: der_felix@⦠| Owner: bemandawes
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: system
Version: Boost 1.39.0 | Severity: Problem
Keywords: |
----------------------------------+-----------------------------------------
Compiler: gcc version 4.1.2
Target: mipsel-linux-uclibc
Error:
libs/system/src/error_code.cpp:223: error: duplicate case value
libs/system/src/error_code.cpp:179: error: previously used here
libs/system/src/error_code.cpp:232: error: duplicate case value
libs/system/src/error_code.cpp:177: error: previously used here
Solution?
# if ECONNRESET != ENOTRECOVERABLE
case ENOTRECOVERABLE: return make_error_condition( state_not_recoverable
);
# endif // ECONNRESET != ENOTRECOVERABLE
# if ECONNABORTED != EOWNERDEAD
case EOWNERDEAD: return make_error_condition( owner_dead );
# endif // ECONNABORTED != EOWNERDEAD
Thank you :)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3239> 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:50:00 UTC