mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
c670b00dea
commit
1fa8718bc8
|
@ -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>
|
2008-10-22 Chris Fairles <cfairles@gcc.gnu.org>
|
||||||
|
|
||||||
* include/std/system_error (is_error_code_enum): Specialize for errc.
|
* include/std/system_error (is_error_code_enum): Specialize for errc.
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
_GLIBCXX_BEGIN_NAMESPACE(std)
|
_GLIBCXX_BEGIN_NAMESPACE(std)
|
||||||
|
|
||||||
enum class errc
|
enum class errc : long
|
||||||
{
|
{
|
||||||
address_family_not_supported = EAFNOSUPPORT,
|
address_family_not_supported = EAFNOSUPPORT,
|
||||||
address_in_use = EADDRINUSE,
|
address_in_use = EADDRINUSE,
|
||||||
|
|
|
@ -43,7 +43,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
||||||
|
|
||||||
// Most of the commented-out error codes are socket-related and could be
|
// Most of the commented-out error codes are socket-related and could be
|
||||||
// replaced by Winsock WSA-prefixed equivalents.
|
// replaced by Winsock WSA-prefixed equivalents.
|
||||||
enum class errc
|
enum class errc : long
|
||||||
{
|
{
|
||||||
// address_family_not_supported = EAFNOSUPPORT,
|
// address_family_not_supported = EAFNOSUPPORT,
|
||||||
// address_in_use = EADDRINUSE,
|
// address_in_use = EADDRINUSE,
|
||||||
|
|
Loading…
Reference in New Issue