Mail Archives: djgpp/1996/06/13/05:52:06
The problem is the curses.h. Curses defines a macro clear, and
streambuf.h does the same. However the 2 macros are not the same. If you
include curses.h _after_ iostream.h, I believe the errors will go away;
but I am not at all sure about whether the code would actually work as
expected.
It think is safest to use only C output (stdio) when using Curses, as it
was intended as an extension to that.
Hope this helps :)
#ifndef _SIGNATURE
#define _SIGNATURE
cout << " Tim Van Holder <tvanhold AT zorro DOT ruca DOT ua DOT ac DOT be>\n";
cout << " aka Zastai <zastai AT opc25 DOT ruca DOT ua DOT ac DOT be> \n";
cout << " 2nd Year Comp. Science at Antwerp University, Belgium.\n";
cerr << " MUD Location: Zastai AT BKL (roupie.unice.fr 7000) \n";
#endif //_SIGNATURE
- Raw text -