1.5.25-15: First steps with ncurses programming: can NOT build Hello_world app

Dave Korn dave.korn.cygwin@googlemail.com
Fri Feb 27 15:50:00 GMT 2009


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/



More information about the Cygwin mailing list