delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Subject: | Re: #define Win32_Winsock fails in 1.1.8 |
To: | cygwin AT cygwin DOT com |
X-Mailer: | Lotus Notes Release 5.0.6 December 14, 2000 |
Message-ID: | <OFDEEA9F3E.B8DE539C-ON85256A09.004A7BBF@tavve.com> |
From: | Matt DOT Brozowski AT tavve DOT com |
Date: | Thu, 8 Mar 2001 08:38:34 -0500 |
X-MIMETrack: | Serialize by Router on hercules/Tavve(Release 5.0.6 |December 14, 2000) at |
03/08/2001 08:38:40 AM | |
MIME-Version: | 1.0 |
I'm definitely not using WIN32_LEAN_AND_MEAN. In fact I've run the file through gcc -E and found that the appropriate headers ARE being included the problem is that sys/types.h is ALSO being included and should NOT be until AFTER winsock.h is included. It is unfortunately included before. The header files are VERY complicated and I don't know the conventions that are used to ensure they work consistently. I am more than happy to develop a patch. Is there anywhere that defines the header file conding conventions that I can read so I can be sure not to screw something else up. Matt Brozowski "Paul Garceau" <pgarceau AT qwest DOT net> To: cygwin AT cygwin DOT com Sent by: cc: cygwin-owner AT sources. Subject: Re: #define Win32_Winsock fails in 1.1.8 redhat.com 03/07/01 05:21 PM Please respond to Paul Garceau Hi folks, On 7 Mar 2001, at 8:44, the Illustrious Matt DOT Brozowski AT tavve DOT com wrote: > > The reason I am attempting to use the WinSock API via Cygwin is that my > application is integrating with a commercial application (HP OpenView) > and the APIs on the windows version return WinSock sockets that I need > to do a WinSock select on in order to tell when there is data to read. > This has not been a problem in the past because the #define > Win32_Winsock enables this feature. It just appears that in the latest > version some header file changes has broken this feature. I have > currently worked around to problem by removing the #include > <sys/reent.h> from string.h and tolerating the "struct _reent declared > inside parameter list" warning that occurs. I was hoping know from this > list if anyone was aware of this problem to ensure it got fixed in a > future release. You might want to verify that you are _not using_ #define WIN32_LEAN_AND_MEAN. If you are (at least under Win32API), it automatically turns off the Win32 socket stuff, Winsock2 notwithstanding. Peace, Paul G. Nothing real can be threatened. Nothing unreal exists. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |