diff options
author | Chris Fairles <cfairles@gcc.gnu.org> | 2008-10-23 15:16:45 +0000 |
---|---|---|
committer | Chris Fairles <cfairles@gcc.gnu.org> | 2008-10-23 15:16:45 +0000 |
commit | 1fa8718bc8b44c1aaef0a32b870d7383b2934c73 (patch) | |
tree | ac9fd4e9bbe595065da46539f151762c67a4b91b | |
parent | c670b00dea7eb205be7ba24c81218fd4707e5aa4 (diff) | |
download | gcc-1fa8718bc8b44c1aaef0a32b870d7383b2934c73.zip gcc-1fa8718bc8b44c1aaef0a32b870d7383b2934c73.tar.gz gcc-1fa8718bc8b44c1aaef0a32b870d7383b2934c73.tar.bz2 |
error_constants.h (errc): Use long type.
2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
* config/os/generic/error_constants.h (errc): Use long type.
* config/os/mingw32/error_constants.h (errc): Likewise.
From-SVN: r141324
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/config/os/generic/error_constants.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/config/os/mingw32/error_constants.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 256aa5b..b4dc801 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2008-10-23 Chris Fairles <cfairles@gcc.gnu.org> + + * config/os/generic/error_constants.h (errc): Use long type. + * config/os/mingw32/error_constants.h (errc): Likewise. + 2008-10-22 Chris Fairles <cfairles@gcc.gnu.org> * include/std/system_error (is_error_code_enum): Specialize for errc. diff --git a/libstdc++-v3/config/os/generic/error_constants.h b/libstdc++-v3/config/os/generic/error_constants.h index 2304a4c..edb196f 100644 --- a/libstdc++-v3/config/os/generic/error_constants.h +++ b/libstdc++-v3/config/os/generic/error_constants.h @@ -40,7 +40,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) - enum class errc + enum class errc : long { address_family_not_supported = EAFNOSUPPORT, address_in_use = EADDRINUSE, diff --git a/libstdc++-v3/config/os/mingw32/error_constants.h b/libstdc++-v3/config/os/mingw32/error_constants.h index 00e6392..7b756cc 100644 --- a/libstdc++-v3/config/os/mingw32/error_constants.h +++ b/libstdc++-v3/config/os/mingw32/error_constants.h @@ -43,7 +43,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) // Most of the commented-out error codes are socket-related and could be // replaced by Winsock WSA-prefixed equivalents. - enum class errc + enum class errc : long { // address_family_not_supported = EAFNOSUPPORT, // address_in_use = EADDRINUSE, |