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.


Compiling curses.C
curses.C: In function `static void Curses::mbtow(const char *,
vector<__wchar_t,allocator<__wchar_t> > &)':
curses.C:447: implicit declaration of function `int wcwidth(...)'
make[1]: *** [curses.o] Error 1
make[1]: Leaving directory `/home/jnelson/downloads/cone-0.50/curses'
make: *** [all] Error 2
[EMAIL PROTECTED] curses $ grep wcwidth /usr/include/ncurses
ncurses.h ncurses_dll.h [EMAIL PROTECTED] curses $ grep wcwidth /usr/include/ncurses*
[EMAIL PROTECTED] curses $ grep wcwidth /usr/include/* /usr/include/wchar.h:extern int wcwidth (wchar_t __c) __THROW;
[EMAIL PROTECTED] curses $

wchar.h is being included from mycurses.H


You need to look at your wchar.h to see what magic concoction it needs to define this function.

Including wchar.h does /not/ help.

Right. Read the include file, and figure out what exactly it wants, to get that definition.


Neither does #defining __USE_X_OPEN (or whatever it is) and including
wchar.h

I manually edited the curses_config.h to not #define HAVE_WCWIDTH

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.


You really need to bump up your gcc. It's fairly ancient.




------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to