delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/14/10:51:40

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
Message-ID: <20000914145112.28277.qmail@web111.yahoomail.com>
Date: Thu, 14 Sep 2000 07:51:12 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: PATCH for the mingw header include/mingw32/stdlib.h
To: Marc Herbert <Marc DOT Herbert AT inrialpes DOT fr>, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

--- Marc Herbert <Marc DOT Herbert AT inrialpes DOT fr> wrote:
> 
> Hi,
> 
>  It would be nice if the macro HAVE_SYS_ERRLIST could be defined when
> the file include/mingw32/stdlib.h defines the symbol sys_errlist
> 
> 
> 
> *** stdlib.h	2000/09/14 09:44:30	1.1
> --- stdlib.h	2000/09/14 09:45:26
> ***************
> *** 203,208 ****
> --- 203,210 ----
>   #ifndef __DECLSPEC_SUPPORTED
>   extern char***	__imp__sys_errlist;
>   #define	sys_errlist	(*__imp__sys_errlist)
>   #else /* __DECLSPEC_SUPPORTED */
>   __MINGW_IMPORT char*	_sys_errlist[];
>   #ifndef _UWIN
>   #define	sys_errlist	_sys_errlist
>   #endif /* _UWIN */
>   #endif /* __DECLSPEC_SUPPORTED */
>   
> + #define HAVE_SYS_ERRLIST
> + 
>   /*
>    * OS version and such constants.
>    */
> 
> 
> We had to do this patch in order to successfully compile
> libiberty/strerror.c in -mno-cygwin mode.
> 
> I will send this patch to the mingw mailing-list too.
> 
> 

IMO, this patch is incorrect.  HAVE_SYS_ERRLIST should be set be the
autoconfiguration tools and usually set in config.h.

Cheers,

=====
--- <http://earniesystems.safeshopper.com> ---
   Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://gw32.freeyellow.com/>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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