This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.5.25-15: First steps with ncurses programming: can NOT build Hello_world app
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 27 Feb 2009 15:59:13 +0000
- Subject: Re: 1.5.25-15: First steps with ncurses programming: can NOT build Hello_world app
- References: <463984.72973.qm@web33201.mail.mud.yahoo.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/