The forum is being replaced with new software. Please use the replacement hosted at https://forum.angband.live/ in the meantime. These forums will stay open until migrating old topics can be achieved, though posting will eventually be locked. Thankyou for your patience.

Reentrant ncurses

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • konijn_
    Hellband maintainer
    • Jul 2007
    • 345

    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! *
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎
MMOMBuy POE 2 Currency