delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/27/10:50:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49A80DD1.9020208@gmail.com>
Date: Fri, 27 Feb 2009 15:59:13 +0000
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.25-15: First steps with ncurses programming: can NOT build Hello_world app
References: <463984 DOT 72973 DOT qm AT web33201 DOT mail DOT mud DOT yahoo DOT com>
In-Reply-To: <463984.72973.qm@web33201.mail.mud.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Alexey Lyubimov wrote:

> 1. Why did initscr() and endwin() not require --enable-auto-import option,
> but refresh() does?

  It's because the initscr() and endwin() functions don't refer to the _stdscr
variable internally, so they don't trigger the linker to import anything from
the ncurses DLL; i.e., it's just an incidental detail of the internal
implementation of the code.

  (I'm about to commit a patch upstream that will turn on auto-import by
default on cygwin, so future releases of binutils won't issue this warning any
more.)

    cheers,
      DaveK

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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