delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/25/13:59:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 25 Apr 2003 13:59:00 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Liang, James" <jliang AT sandia DOT gov>
cc: cygwin AT cygwin DOT com, <cygwin-apps AT cygwin DOT com>
Subject: Re: Conflict between w32api/winsock.h and cygwin/in DOT h AT compile time
In-Reply-To: <71251C7D5FB1D2119C8F0008C7A44ED10379202A@es07snlnt.sandia.gov>
Message-ID: <Pine.GSO.4.44.0304251355270.10996-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

James,

According to the list description at
<http://cygwin.com/lists.html#cygwin-apps>, this is the wrong list for
your inquiry.  The correct list would be <cygwin at cygwin dot com>.  I'm
redirecting your message there.  Please remove <cygwin-apps at cygwin dot
com> from further discussion.
	Igor

On Fri, 25 Apr 2003, Liang, James wrote:

> I'm trying to compile some sample code from IDT and got the below warnings
> and errors.  Is this
> the correct list to contact?  How can I address this problem?
>
>
> /usr/include/w32api/winsock.h:202: warning: `IN_CLASSA' redefined
> /usr/include/cygwin/in.h:113: warning: this is the location of the previous
> definition
> /usr/include/w32api/winsock.h:205: warning: `IN_CLASSA_HOST' redefined
> /usr/include/cygwin/in.h:116: warning: this is the location of the previous
> definition
> /usr/include/w32api/winsock.h:207: warning: `IN_CLASSB' redefined
> /usr/include/cygwin/in.h:119: warning: this is the location of the previous
> definition
> /usr/include/w32api/winsock.h:210: warning: `IN_CLASSB_HOST' redefined
> /usr/include/cygwin/in.h:122: warning: this is the location of the previous
> definition
> /usr/include/w32api/winsock.h:212: warning: `IN_CLASSC' redefined
> /usr/include/cygwin/in.h:125: warning: this is the location of the previous
> definition
> /usr/include/w32api/winsock.h:215: warning: `IN_CLASSC_HOST' redefined
> /usr/include/cygwin/in.h:128: warning: this is the location of the previous
> definition
> /usr/include/w32api/winsock.h:216: warning: `INADDR_ANY' redefined
> /usr/include/cygwin/in.h:138: warning: this is the location of the previous
> definition
> /usr/include/w32api/winsock.h:218: warning: `INADDR_BROADCAST' redefined
> /usr/include/cygwin/in.h:141: warning: this is the location of the previous
> definition
> In file included from ../acl_parser.c:32:
> ../../../include/platform/sol_types.h:35: warning: redefinition of `ssize_t'
> /usr/include/sys/types.h:140: warning: `ssize_t' previously declared here
> In file included from ../../../include/platform/sol_socket.h:23,
>                  from ../acl_parser.c:40:
> /usr/include/w32api/winsock.h:189: redefinition of `struct in_addr'
> /usr/include/w32api/winsock.h:220: redefinition of `struct sockaddr_in'
> /usr/include/w32api/winsock.h:274: redefinition of `struct ip_mreq'
> /usr/include/w32api/winsock.h:435: conflicting types for `inet_addr'
> /usr/include/arpa/inet.h:22: previous declaration of `inet_addr'
> /usr/include/w32api/winsock.h:436: conflicting types for `inet_ntoa'
> /usr/include/arpa/inet.h:28: previous declaration of `inet_ntoa'
>
> James Z. Liang

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019