On Wed, 28 May 2003, Sam Varshavchik wrote:
> Jon Nelson writes:
>
> >
> >> * A built-in text editor for editing new messages, with search/replace and
> >> spell checking (requires aspell or pspell).
> >
> > Is there support for an external text editor?
>
> No.
I'd like to add that to the wishlist, then.
> > That helped.
> > Then, I get this:
> >
> > Compiling cursesmainscreen.C
> > cursesmainscreen.C: In method
> > `CursesMainScreen::Lock::Lock(CursesMainScreen *, bool = false)':
> > cursesmainscreen.H:34: `unsigned int CursesMainScreen::lockcnt' is
> > private
> > cursesmainscreen.C:43: within this context
> > cursesmainscreen.C: In method `CursesMainScreen::Lock::~Lock()':
> > cursesmainscreen.H:34: `unsigned int CursesMainScreen::lockcnt' is
> > private
> > cursesmainscreen.C:50: within this context
> > make[1]: *** [cursesmainscreen.o] Error 1
> > make[1]: Leaving directory `/home/jnelson/downloads/cone-0.50/curses'
> >
> > [EMAIL PROTECTED] curses $ g++ --version
> > 2.95.3
> > [EMAIL PROTECTED] curses $ gcc --version
> > 2.95.3
> > [EMAIL PROTECTED] curses $
>
> 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
I tried to use the C99 varargs standard:
#define LIBMAIL_THROW_NODEBUG(...) throw __VA_ARGS__
but the compiler complains about that as well.
Grr.
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'
objectmonitor.H:98: ANSI C++ forbids declaration `obj' with no type
objectmonitor.H:99: destructor `obj' must match class name `._34'
objectmonitor.H:101: parse error before `&'
objectmonitor.H:101: ANSI C++ forbids declaration `obj' with no type
objectmonitor.H:102: syntax error before `&'
objectmonitor.H:103: anonymous class type not used to declare any
objects
In file included from mail.C:7:
mail.H:123: parse error before `{'
mail.H:132: virtual outside class declaration
mail.H:132: function `int mail::handler(fd_set *, fd_set *, timeval *)'
is initialized like a variable
mail.H:134: parse error before `protected'
mail.H:151: destructors must be member functions
mail.H:151: virtual outside class declaration
mail.H:179: syntax error before `*'
mail.H:236: virtual outside class declaration
mail.H:236: function `void mail::logout(mail::callback &)' is
initialized like a variable
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.
--
Feast your Vulcan squinties on that!
Jon Nelson <[EMAIL PROTECTED]>
C and Python Code Gardener
-------------------------------------------------------
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