delorie.com/archives/browse.cgi | search |
Date: | Thu, 2 Aug 2001 13:22:31 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Prashant Ramachandra <rprash AT wilco-int DOT com> |
cc: | "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com> |
Subject: | RE: Curses in DJGPP |
In-Reply-To: | <5BF60CD649EDD411A04600B0D049F53AFFA97C@hydmail02.hyd.wilco-int.com> |
Message-ID: | <Pine.SUN.3.91.1010802131659.58C-100000@is> |
MIME-Version: | 1.0 |
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 |
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 <vector>.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |