OSDN Git Service

2008-10-23 Chris Fairles <cfairles@gcc.gnu.org>
authorcfairles <cfairles@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Oct 2008 15:16:45 +0000 (15:16 +0000)
committercfairles <cfairles@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Oct 2008 15:16:45 +0000 (15:16 +0000)
        * config/os/generic/error_constants.h (errc): Use long type.
        * config/os/mingw32/error_constants.h (errc): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141324 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/generic/error_constants.h
libstdc++-v3/config/os/mingw32/error_constants.h

index 256aa5b..b4dc801 100644 (file)
@@ -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.
index 2304a4c..edb196f 100644 (file)
@@ -40,7 +40,7 @@
 
 _GLIBCXX_BEGIN_NAMESPACE(std)
 
- enum class errc
+  enum class errc : long
     {
       address_family_not_supported =           EAFNOSUPPORT,
       address_in_use =                                 EADDRINUSE,
index 00e6392..7b756cc 100644 (file)
@@ -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,