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: 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> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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