bug-ncurses
[Top][All Lists]
Advanced

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

Possible Problem with 5.3 2004-01-10


From: Jim Gifford
Subject: Possible Problem with 5.3 2004-01-10
Date: Mon, 12 Jan 2004 19:10:03 -0800

   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

Program below is named Cone available at
http://prdownloads.sourceforge.net/courier/cone-0.57.tar.bz2
The last two patches to ncurses prevent this program from compiling.

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'
mycurses.H:337: error:   overriding `virtual bool Curses::writeText(const
   char*, int, int, const Curses::CursesAttr&) const'
cursesscreen.H:44: error: conflicting return type specified for `virtual
   NCURSES_BOOL CursesScreen::writeText(const wchar_t*, int, int, const
   Curses::CursesAttr&) const'
mycurses.H:339: error:   overriding `virtual bool Curses::writeText(const
   wchar_t*, int, int, const Curses::CursesAttr&) const'
In file included from cursesscreen.C:10:
cursesfield.H:91: error: conflicting return type specified for `virtual
   NCURSES_BOOL CursesField::processKeyInFocus(const Curses::Key&)'
mycurses.H:476: error:   overriding `virtual bool
   Curses::processKeyInFocus(const Curses::Key&)'
cursesfield.H:93: error: conflicting return type specified for `virtual
   NCURSES_BOOL CursesField::isFocusable()'
mycurses.H:426: error:   overriding `virtual bool Curses::isFocusable()'
In file included from cursesstatusbar.C:10:
cursesscreen.H:42: error: conflicting return type specified for `virtual
   NCURSES_BOOL CursesScreen::writeText(const char*, int, int, const
   Curses::CursesAttr&) const'
mycurses.H:337: error:   overriding `virtual bool Curses::writeText(const
   char*, int, int, const Curses::CursesAttr&) const'
cursesscreen.H:44: error: conflicting return type specified for `virtual
   NCURSES_BOOL CursesScreen::writeText(const wchar_t*, int, int, const
   Curses::CursesAttr&) const'
mycurses.H:339: error:   overriding `virtual bool Curses::writeText(const
   wchar_t*, int, int, const Curses::CursesAttr&) const'
In file included from /usr/include/c++/3.3.2/istream:45,
                 from /usr/include/c++/3.3.2/iomanip:46,
                 from cursesscreen.C:16:
/usr/include/c++/3.3.2/limits:372: error: redefinition of `struct
   std::numeric_limits<NCURSES_BOOL>'
/usr/include/c++/3.3.2/limits:219: error: previous definition of `struct
   std::numeric_limits<NCURSES_BOOL>'
cursesstatusbar.C:85: error: prototype for `NCURSES_BOOL
   CursesStatusBar::progressWanted()' does not match any in class `
   CursesStatusBar'
cursesstatusbar.H:154: error: candidate is: bool
   CursesStatusBar::progressWanted()
cursesstatusbar.C:85: error: `NCURSES_BOOL
CursesStatusBar::progressWanted()'
   and `bool CursesStatusBar::progressWanted()' cannot be overloaded
Compiling cursesvscroll.C
Compiling timer.C
make[4]: *** [cursesscreen.o] Error 1
make[4]: *** Waiting for unfinished jobs....
cursesstatusbar.C:599: error: prototype for `NCURSES_BOOL
   CursesStatusBar::processKey(const Curses::Key&)' does not match any in
class
   `CursesStatusBar'
cursesstatusbar.H:180: error: candidate is: virtual bool
   CursesStatusBar::processKey(const Curses::Key&)
cursesstatusbar.C:599: error: `NCURSES_BOOL
CursesStatusBar::processKey(const
   Curses::Key&)' and `virtual bool CursesStatusBar::processKey(const
   Curses::Key&)' cannot be overloaded
cursesstatusbar.C:626: error: prototype for `NCURSES_BOOL
   CursesStatusBar::listKeys(std::vector<std::pair<std::string,
std::string>,
   std::allocator<std::pair<std::string, std::string> > >&)' does not match
any
   in class `CursesStatusBar'
cursesstatusbar.H:181: error: candidate is: virtual bool
   CursesStatusBar::listKeys(std::vector<std::pair<std::string,
std::string>,
   std::allocator<std::pair<std::string, std::string> > >&)
cursesstatusbar.C:626: error: `NCURSES_BOOL
   CursesStatusBar::listKeys(std::vector<std::pair<std::string,
std::string>,
   std::allocator<std::pair<std::string, std::string> > >&)' and `virtual
bool
   CursesStatusBar::listKeys(std::vector<std::pair<std::string,
std::string>,
   std::allocator<std::pair<std::string, std::string> > >&)' cannot be
   overloaded
cursesstatusbar.C:724: error: prototype for `NCURSES_BOOL
   CursesStatusBar::Field::processKeyInFocus(const Curses::Key&)' does not
   match any in class `CursesStatusBar::Field'
cursesstatusbar.H:79: error: candidate is: virtual bool
   CursesStatusBar::Field::processKeyInFocus(const Curses::Key&)
cursesstatusbar.C:724: error: `NCURSES_BOOL
   CursesStatusBar::Field::processKeyInFocus(const Curses::Key&)' and
`virtual
   bool CursesStatusBar::Field::processKeyInFocus(const Curses::Key&)'
cannot
   be overloaded
cursesstatusbar.C:750: error: prototype for `NCURSES_BOOL
   CursesStatusBar::Field::writeText(const char*, int, int, const
   Curses::CursesAttr&) const' does not match any in class `
   CursesStatusBar::Field'
cursesstatusbar.H:84: error: candidates are: virtual bool
   CursesStatusBar::Field::writeText(const wchar_t*, int, int, const
   Curses::CursesAttr&) const
cursesstatusbar.H:82: error:                 virtual bool
   CursesStatusBar::Field::writeText(const char*, int, int, const
   Curses::CursesAttr&) const
cursesstatusbar.C:750: error: `NCURSES_BOOL
   CursesStatusBar::Field::writeText(const char*, int, int, const
   Curses::CursesAttr&) const' and `virtual bool
   CursesStatusBar::Field::writeText(const char*, int, int, const
   Curses::CursesAttr&) const' cannot be overloaded
cursesstatusbar.C:760: error: prototype for `NCURSES_BOOL
   CursesStatusBar::Field::writeText(const wchar_t*, int, int, const
   Curses::CursesAttr&) const' does not match any in class `
   CursesStatusBar::Field'
cursesstatusbar.H:84: error: candidates are: virtual bool
   CursesStatusBar::Field::writeText(const wchar_t*, int, int, const
   Curses::CursesAttr&) const
cursesstatusbar.H:82: error:                 virtual bool
   CursesStatusBar::Field::writeText(const char*, int, int, const
   Curses::CursesAttr&) const
cursesstatusbar.C:760: error: `NCURSES_BOOL
   CursesStatusBar::Field::writeText(const wchar_t*, int, int, const
   Curses::CursesAttr&) const' and `virtual bool
   CursesStatusBar::Field::writeText(const wchar_t*, int, int, const
   Curses::CursesAttr&) const' cannot be overloaded
make[4]: *** [cursesstatusbar.o] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2

----
Jim Gifford

address@hidden
address@hidden





reply via email to

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