Re: Re: [PATCH] Add missing system error codes, pt. II
Danny Smith <[email protected]> Wed, 08 Jan 2003 02:10:30 +0000
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <000e01c2b6bb$345af130$7090a7cb@DANNY> |
Some, perhaps most, of the WSA and WSA_QOS error codes in your patch are already defined in winsock2.h using this type of definition: #define WSABASEERR 10000 #define WSAEINTR (WSABASEERR+4) .... Your additions of these to winerror.h will cause redefinition warnings on gcc 2.95, because the expressions differ, even though they evaluate to same constant . Newer GCC does not raise this redefinition warning. Any ideas on the best way to handle this. Danny ----- Original Message ----- From: "Bang Jun-Young" <[email protected]> To: <[email protected]> Sent: Tuesday, 7 January 2003 13:43 Subject: [MinGW-patches] Re: [PATCH] Add missing system error codes, pt. II > On Tue, Jan 07, 2003 at 10:20:13PM +0900, Bang Jun-Young wrote: > > Oops, please ignore them. My editor didn't handle lines ended with CR+LF. > > I'm making a new patch now. > > Here it is. > > Jun-Young > > -- > Bang Jun-Young <[email protected]> > ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com