Re: socklen_t data type
Eli Zaretskii <eliz-mXXj517/[email protected]> Tue, 30 Jun 2020 05:32:44 +0300
| Newsgroups | gmane.comp.gnu.mingw.user |
|---|---|
| Message-ID | <[email protected]> |
> From: Keith Marshall <[email protected]> > Date: Mon, 29 Jun 2020 22:34:58 +0100 > > > This causes trouble when compiling a recent GDB: both Gnulib and > > GDB's own sources assume that socklen_t is a signed int. Moreover, > > winsock functions like 'accept' and 'getsockname', expect an 'int *' > > type of their last argument, and it is customary to pass a > > 'socklen_t *' value there. > Ouch! I'm guessing that the difference in "signedness" raises warnings, > at best, and possibly even incompatible type conflict errors? GDB is a C++ program these days, and is compiled with -fpermissive, so this causes errors. > so if it makes life easier, feel free to modify your local copy, and > I'll revert that change for future releases. Done; thanks. _______________________________________________ MinGW-Users mailing list [email protected] This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.osdn.me/mailman/listinfo/mingw-users Also: mailto:[email protected]?subject=unsubscribe