delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/19/00:56:10

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: <3B05FCD3.71F4B1F1@ece.gatech.edu>
Date: Sat, 19 May 2001 00:55:47 -0400
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: AJ Reins <tbisp AT qwest DOT net>
CC: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Patch for ncurses and pedantic
References: <3B05F695 DOT 59955F0C AT qwest DOT net>

Thanks, AJ.  I'll put it in the queue for the next cygwin release of
ncurses. (There's no point in sending this patch, as it is, to the GNU
people -- their version, the official version, of ncurses doesn't even
*have* an ncurses_dll.h file)

--Chuck

AJ Reins wrote:
> 
> Here is a small patch to stop a compilation warning when compiling with
> the pedantic switch. The warning given is garbage after undefine. Very
> informative message!
> 
> *** ncurses_dll.h.old   Wed Apr 25 00:33:46 2001
> --- ncurses_dll.h       Thu May 17 11:01:58 2001
> ***************
> *** 12,19 ****
>   #  endif
>   #  undef NCURSES_IMPEXP
>   #  undef NCURSES_API
> ! #  undef NCURSES_EXPORT(type,symbol)
> ! #  undef NCURSES_EXPORT_VAR(type)
>   #  if defined(NCURSES_DLL)
>   /* building a DLL */
>   #    define NCURSES_IMPEXP __declspec(dllexport)
> --- 12,19 ----
>   #  endif
>   #  undef NCURSES_IMPEXP
>   #  undef NCURSES_API
> ! #  undef NCURSES_EXPORT
> ! #  undef NCURSES_EXPORT_VAR
>   #  if defined(NCURSES_DLL)
>   /* building a DLL */
>   #    define NCURSES_IMPEXP __declspec(dllexport)
> 
> --
> AJ Reins - tbisp<AT>qwest.net -or- tbisp<AT>my-deja.com
> Warning label I would like to see on software:
> "Before using, read instructions.
>  If you do not understand or cannot read,
>   do no use this product."
> 
> --
> 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

- Raw text -


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