Opened 13 years ago
Last modified 13 years ago
#3239 new Bugs
duplicate case value in error_code.cpp on mipsel
Reported by: | Owned by: | markus_werle | |
---|---|---|---|
Milestone: | Boost 1.40.0 | Component: | system |
Version: | Boost 1.39.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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 :)