Re: Cone 0.57 now available.

"Jim Gifford" <[email protected]>
Newsgroups gmane.mail.cone
Message-ID <091201c3d938$850c7d10$db00a8c0@W2RZ8L4S02>
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'
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



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