Re: Cone 0.57 now available.

Thomas Dickey <[email protected]>
Newsgroups gmane.mail.cone,gmane.comp.lib.ncurses.bugs
Message-ID <[email protected]>
On Mon, 12 Jan 2004, Sam Varshavchik wrote:

> Jim Gifford writes:
>
> > Sam,
> >     With the latest patch of ncurses, I get the following build error.
> > Ncurses with patch-5.3-20040110.sh from
> > ftp://invisible-island.net/ncurses/5.3
> >
> > In file included from cursesscreen.C:9:
> > cursesscreen.H:42: error: conflicting return type specified for `virtual
> >    NCURSES_BOOL CursesScreen::writeText(const char*, int, int, const
> >    Curses::CursesAttr&) const'

I meant ncurses' definition to look like this (example from cut/paste):

#if defined(__cplusplus)        /* __cplusplus, etc. */

/* use the C++ compiler's bool type */
#define NCURSES_BOOL bool

#else                   /* c89, c99, etc. */

#if 1
#include <stdbool.h>
/* use whatever the C compiler decides bool really is */
#define NCURSES_BOOL bool
#endif

#endif /* !__cplusplus, etc. */

#ifdef __cplusplus
extern "C" {
#endif

(the fix will of course be in my next patch)

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


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.