bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lib_bkgd.c demands WINDOW._bkgd


From: Robert Joop
Subject: lib_bkgd.c demands WINDOW._bkgd
Date: Fri, 21 Dec 2001 00:28:43 +0100
User-agent: Mutt/1.3.24i

[ncurses 5.2 patch 20011218]

the compiler tells me

../ncurses/./base/lib_bkgd.c: In function `wbkgrndset':
../ncurses/./base/lib_bkgd.c:75: structure has no member named `_bkgd'

the line reads

            win->_bkgd = ((tmp == EOF) ? ' ' : (chtype) tmp) | AttrOf(wch);

win is a WINDOW *, i've found

include/curses.h:typedef struct _win_st WINDOW;
include/curses.h:struct _win_st

but struct _win_st doesn't contain any _bkgd member, the compiler is of
course right.
it contains a _bkgrnd member, but it's of an incompatible type.

i've no idea what the fix should be...

rj



reply via email to

[Prev in Thread] Current Thread [Next in Thread]