This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

sys/socket.h problem


I think there is a minor problem in sys/socket.h

The 3rd parameter to accept() is normally declared to be of type socklen_t which
ultimately
ought to cast to some unsigned type rather than signed int.  As is, gcc
complains about the
sign changing and refused to build some socket code from a previously working
package.  Changing
the definition from int to uint works around my problem, but it makes we wonder
how all of the
network application included in cygwin were built.

Steve Kenton

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]