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 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> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/