Re: Cone 0.59 released.

Sam Varshavchik <[email protected]>
Newsgroups gmane.mail.cone
Message-ID <[email protected]>
Jim Gifford writes:

> Sam,
>     I'm not sure if it's a GCC 3.4.0 issue or ncurses 5.4 04-24-2004 issue.
> But I get this when compiling cone 0.58 or 0.59.
> 
> cursesscreen.C: In member function `Curses::Key CursesScreen::getKey()':
> cursesscreen.C:353: error: `void (*Curses::suspendedHook)()' is private
> cursesscreen.C:389: error: within this context
> cursesscreen.C:353: error: `void (*Curses::suspendedHook)()' is private
> cursesscreen.C:397: error: within this context
> make[3]: *** [cursesscreen.o] Error 1

It's my issue. gcc 3.4.0 caught an error that the previous versions of gcc 
didn't catch.  Change the tail end of mycurses.H to read:


	static void (*suspendedHook)(void);
private:
	static void suspendedStub(void);
};
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAjFzAx9p3GYHlUOIRAjlNAJ0SdjG0Nejea9c1YDxSbBX6nojU0QCfYPep
RYQGrOOpBfTWdMZvcUnuLeM=
=jH7M
-----END PGP SIGNATURE-----
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.