delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/10/14:26:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.5 required=5.0 tests=AWL,BAYES_00,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4F0C90A9.5000306@cygwin.com>
Date: Tue, 10 Jan 2012 14:25:29 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Can't get includes untangled
References: <4F0C8EDD DOT 6070003 AT gmail DOT com>
In-reply-to: <4F0C8EDD.6070003@gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 1/10/2012 2:17 PM, Jarome wrote:
> When I make my Windows 7 cygwin project, I keep getting
> In file included from /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../
> include/w32api/windows.h:98:0,
>                   from src/tkfPusher.c:23:
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/
> winsock2.h:103:2: warning: #warning "fd_set and associated macros have
> been defined in sys/types.      This may cause runtime problems with
> W32 sockets"
>
> Everything works in MinGW.

Don't include windows files for Cygwin.  Think of Cygwin as a UNIX/Linux
environment.  Anything you wouldn't include there shouldn't be included
when building for Cygwin.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

- Raw text -


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