NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/60768: _CURSES_USE_MACROS does not compile
>Number: 60768
>Category: lib
>Synopsis: _CURSES_USE_MACROS does not compile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 22 20:30:00 +0000 2026
>Originator: Christos Zoulas
>Release: NetBSD 11.99.7
>Organization:
cursed lands of nowhere.
>Environment:
System: NetBSD quasar.astron.com 11.99.7 NetBSD 11.99.7 (QUASAR) #77: Thu Aug 20 11:52:25 EDT 2026 christos%quasar.astron.com@localhost:/usr/src/sys/arch/amd64/compile/QUASAR amd64
Architecture: x86_64
Machine: amd64
>Description:
Compiling libcurses with -D_CURSES_USE_MACROS fails:
/net/quasar/src-5/NetBSD/src/distrib/utils/libhack/../../../lib/libcurses/curses.h:520:25: error: expected ')' before '==' token
520 | (wmove(w, y, x) == ERR ? ERR : winchnstr(w, c, n))
| ^~
>How-To-Repeat:
Add -D_CURSES_USE_MACROS
>Fix:
Make it build or or remove the macro, and the code it enables.
Home |
Main Index |
Thread Index |
Old Index