bug-ncurses
[Top][All Lists]
Advanced

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

Re: another ncurses bugs?


From: Thomas Dickey
Subject: Re: another ncurses bugs?
Date: Tue, 6 Jan 2004 10:43:17 -0500 (EST)

On Tue, 6 Jan 2004, Stanislav Ievlev wrote:

> 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.

thanks (at least some of them - will find out)

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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