bug-ncurses
[Top][All Lists]
Advanced

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

another ncurses bugs?


From: Stanislav Ievlev
Subject: another ncurses bugs?
Date: Tue, 6 Jan 2004 17:51:42 +0300

Hello, friends !

-------------------------- curses.h ------------------------
extern NCURSES_EXPORT(int) addstr (const char *);                 /* ...
------------------------------------------------------------

--------------------------c++/cursesw.h---------------------
#ifdef addstr
/* The (char*) cast is to hack around missing const's */
inline int UNDEF(addstr)(const char * str)  { return addstr((char*)str); }
#undef addstr
#define addstr UNDEF(addstr)
#endif
------------------------------------------------------------

All this code in c++ bindings looks orphaned.

Same problem with addnstr(), and with other functions.
I'm sure you can easy remove all this hacks now.

--
With best regards
Stanislav Ievlev.





reply via email to

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