Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > Subject: some header bugs > Date: Wed, 17 Jan 2001 20:53:06 -0500 > From: DJ Delorie > 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