Can't get includes untangled
Larry Hall (Cygwin)
reply-to-list-only-lh@cygwin.com
Tue Jan 10 19:26:00 GMT 2012
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
More information about the Cygwin
mailing list