Date: Thu, 2 Aug 2001 13:22:31 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Prashant Ramachandra cc: "'djgpp AT delorie DOT com'" Subject: RE: Curses in DJGPP In-Reply-To: <5BF60CD649EDD411A04600B0D049F53AFFA97C@hydmail02.hyd.wilco-int.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 2 Aug 2001, Prashant Ramachandra wrote: > In file included from d:/djgpp/lang/cxx/iostream.h:31, > from d:/djgpp/lang/cxx/stlalgobase.h:53, > from d:/djgpp/lang/cxx/vector:30, > from test.cc:2: [...] > curses.h defines a macro by name clear. There is a method called clear in > class ios in strambuf so there's a conflict. If your program doesn't use `clear' and `erase' from PDCurses, you could simply #undef them before you include .