delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/01/18/09:09:51

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Message-ID: <3A66B981.B38A5077@ece.gatech.edu>
Date: Thu, 18 Jan 2001 04:38:09 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin-developers AT sources DOT redhat DOT com
Subject: Re: some header bugs
References: <979782795 DOT 12505 DOT ezmlm AT sources DOT redhat DOT com>

> Subject: some header bugs
> Date: Wed, 17 Jan 2001 20:53:06 -0500
> From: DJ Delorie <dj AT delorie DOT com>
> To: cygwin-developers AT cygwin DOT com
> 
> While building some internal Red Hat stuff, I noticed the following:
> 
> In /usr/include/termcap.h, some variables are declared "extern" but
> there's no provision for marking them as dllimport when you link
> against the dll version of the termcap library, which is the default.

But there is no dll version of the termcap library.  So there doesn't
seem to be anything "wrong" with termcap's /usr/include/termcap.h

OTOH, the ncurses packages provides /usr/include/termcapn.h -- soon to
be /usr/include/ncurses/termcap.h -- which *does* provide facilities for
marking exports as dllimport.  But, it is to be used when linking with
-lncurses either statically OR dynamically, when you only want ncurses'
termcap emulation behavior.

--Chuck

- Raw text -


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