www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/13/05:52:06

Date: Thu, 13 Jun 1996 11:47:14 +0200 (MET DST)
From: Zastai - A MUD Addict <zastai AT opc25 DOT ruca DOT ua DOT ac DOT be>
To: boylesgj AT lion DOT cs DOT latrobe DOT edu DOT au
cc: djgpp AT delorie DOT com
Subject: Re: Compiler error??
In-Reply-To: <199606120405.AAA27085@delorie.com>
Message-ID: <Pine.LNX.3.91.960613111909.2267A-100000@opc25.ruca.ua.ac.be>
Rating: Mature Audiences
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019