www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/13/03:39:37

Date: Thu, 13 Aug 1998 10:39:23 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Robin Pell <robin AT redwing DOT force9 DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Problem using CursesWindow class
In-Reply-To: <35ce0e92.55072@news.force9.net>
Message-ID: <Pine.SUN.3.91.980813103857.2812A-100000@is>
MIME-Version: 1.0

On Sun, 9 Aug 1998, Robin Pell wrote:

> win.cpp (5) Error: `CursesWindow' undeclared (first use this function)
> win.cpp (5) Error: (Each undeclared identifier is reported only once
> win.cpp (5) Error: for each function it appears in.)
> win.cpp (5) Error: parse error before `('

This happens because lang/cxx/_G_config.h disables the Curses support
in C++ programs (it defines _G_HAVE_CURSES to zero near its end).  You
could edit that line and change 0 to 1, but it seems that at least
PDCurses 2.2 is incompatible with the C++ CursesWindow class and you
will get other error messages.

I'd suggest trying PDCurses 2.3 (an announcement was posted here not
long ago).  If that doesn't help, you will have to resolve any
conflicts by changing the curses.h header and/or cursesw.h.

- Raw text -


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