View Single Post
Old July 15, 2010, 01:05   #1
konijn_
Hellband maintainer
 
konijn_'s Avatar
 
Join Date: Jul 2007
Location: New York, the Big Apple
Age: 44
Posts: 367
Donated: $120
konijn_ is on a distinguished road
Reentrant ncurses

Greetings and salutations,

I am building Hellband on my new machine with cygwin and it does no longer compile, it fails over the following lines of code :

main-gcu.c: mvcur(curscr->cury, curscr->curx, LINES - 1, 0);
main-gcu.c: mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0);

main-gcu.c: mvcur(curscr->cury, curscr->curx, LINES - 1, 0);
main-gcu.c: mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0);

Apparently the curscr is not supposed to be used anyway . In the curses.h it seems curscr's definition is linked to the NCURSES_REENTRANT define which apparently isnt a big success.

Has anybody recently gotten the new curses library and experienced the same?

T.
__________________
* Are you ready for something else ? Hellband 0.8.8 is out! *
konijn_ is offline   Reply With Quote