Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Chris Faylor <cgf@cygnus.com>
Date: Wed, 26 Jan 2000 20:27:57 -0500
To: Mumit Khan <khan@NanoTech.Wisc.EDU>
Cc: Glenn Spell <glenn@gs.fay.nc.us>, cygwin@sourceware.cygnus.com
Subject: Re: Using h_errno, errno etc Cygwin DLL globals [Re: Making wget]
Message-ID: <20000126202757.A6897@cygnus.com>
Mail-Followup-To: Mumit Khan <khan@NanoTech.Wisc.EDU>,
	Glenn Spell <glenn@gs.fay.nc.us>, cygwin@sourceware.cygnus.com
References: <20000126133618.A13948@shell4.ba.best.com> <Pine.HPP.3.96.1000126180905.15827C-100000@hp2.xraylith.wisc.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0i
In-Reply-To: <Pine.HPP.3.96.1000126180905.15827C-100000@hp2.xraylith.wisc.edu>; from khan@NanoTech.Wisc.EDU on Wed, Jan 26, 2000 at 06:14:48PM -0600

On Wed, Jan 26, 2000 at 06:14:48PM -0600, Mumit Khan wrote:
>But of course, one should be including <netdb.h> instead. Ah, the joys
>of choosing among so many Unix misfeatures -- some don't declare it, 
>some do and so on ;-)

Bug report:

When compiling using gcc 2.97.43 and the Cygwin snapshot from 1999-8-31
I get an incorrect success when building code which contains both
h_errno and netdb.h.  My program compiles and links perfectly rather
than giving me the correct error!!!!

What the heck is the deal here???  This failed to compile perfectly on
Ultrix 4.2!!!  Has anyone else seen this problem??

Help!

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

