delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Fri, 22 Sep 2000 11:20:38 -0500 |
From: | Steve Kenton <skenton AT ou DOT edu> |
Subject: | sys/socket.h problem |
To: | cygwin AT sourceware DOT cygnus DOT com |
Message-id: | <39CB86D6.D253A3BA@ou.edu> |
Organization: | The University Of Oklahoma |
MIME-version: | 1.0 |
X-Mailer: | Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u) |
X-Accept-Language: | en |
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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |