Put a 'friend class Lock' in cursesmainscreen.H, right after the class definition.
OK, everything in curses compiles now.
Now, I get this:
Compiling mail.C mail.C:254: macro `LIBMAIL_THROW_NODEBUG' used without args mail.C:569: macro `LIBMAIL_THROW_NODEBUG' used without args mail.C:586: macro `LIBMAIL_THROW_NODEBUG' used without args mail.C:680: macro `LIBMAIL_THROW_NODEBUG' used without args mail.C:700: macro `LIBMAIL_THROW_NODEBUG' used without args make[1]: *** [mail.o] Error 1
Which translates to line 41 of mail.H:
#define LIBMAIL_THROW_NODEBUG(x) throw x
line 254 (and the others mentioned) look like: LIBMAIL_THROW(); and libmail_config.h has #define LIBMAIL_THROW LIBMAIL_THROW_NODEBUG
Would changing libmail_config.h to
#define LIBMAIL_THROW(x) LIBMAIL_THROW_NODEBUG(x)
... make gcc shut up, now?
Manually (temporarily) changing each of the macros to just 'throw' allows a bit more, but /then/ I get (in libmail):
In file included from mail.H:36, from mail.C:7: objectmonitor.H:93: `mail' does not have a nested type named `obj'
Change this line from "class mail::obj" to "class obj".
mail.H:243: virtual outside class declaration
and a boatload more, at which point compilation stops.
You really need to bump up your gcc. It's fairly ancient.
If cone is uncompilable with what I've got, I guess I'll wait until it is, or until I get a new gcc as part of the distro.
Don't give up that easy, just yet.
------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
