Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 22 Sep 2000 11:20:38 -0500
From: Steve Kenton <skenton@ou.edu>
Subject: sys/socket.h problem
To: cygwin@sourceware.cygnus.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)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
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@sourceware.cygnus.com

