Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Development (http://angband.oook.cz/forum/forumdisplay.php?f=10)
-   -   Reentrant ncurses (http://angband.oook.cz/forum/showthread.php?t=3480)

konijn_ July 15, 2010 01:05

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.


All times are GMT +1. The time now is 14:07.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.