This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]