bug-ncurses
[Top][All Lists]
Advanced

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

Re: Cone 0.57 now available.


From: Thomas Dickey
Subject: Re: Cone 0.57 now available.
Date: Tue, 13 Jan 2004 19:00:12 -0500 (EST)

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




reply via email to

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