www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/21/22:33:51

Message-ID: <000f01c06bc8$1bbbd620$7637c5cb@a>
From: "Siddhu." <siddhu AT loveable DOT com>
To: <djgpp AT delorie DOT com>
Subject: Help
Date: Fri, 22 Dec 2000 09:04:35 +0530
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C06BF6.34C49840
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



I wrote a C++ program in Rhide
Simultaneously i was also creating a c program.

earlier the c++ program was compiling properly now its giving weird =
errors i cannot figure out why? suddenly=20
errors areas follows


graph.cc: In method `void Button::create_unclicked_button()':
graph.cc:435: `theme' undeclared (first use this function)
graph.cc: In method `Button::Button()':
graph.cc:477: type `Window' is not an immediate basetype for `Button'
graph.cc: In method `Button::Button(Window *, int, int, int, int, int =
=3D TYPE_BUT
TON, char * =3D "", char * =3D "")':
graph.cc:483: type `Window' is not an immediate basetype for `Button'
graph.cc: In method `int Button::setparam(Window *, int, int, int, int, =
int =3D ST
YLE_BUTTON, char * =3D "", char * =3D "")':
graph.cc:507: type `Window' is not yet defined
graph.cc: In method `void Button::disable()':
graph.cc:544: no method `Window::disable'
graph.cc: At top level:
graph.cc:564: base class `Window' has incomplete type
graph.cc:591: warning: all member functions in class `FrameWnd' are =
private
graph.cc: In method `FrameWnd::FrameWnd()':
graph.cc:570: type `Window' is not an immediate basetype for `FrameWnd'
graph.cc: In method `FrameWnd::FrameWnd(Window *, int, int, int, int, =
char * =3D "
", char * =3D "")':
graph.cc:575: type `Window' is not an immediate basetype for `FrameWnd'
graph.cc: In method `void FrameWnd::setparam(Window *, int, int, int, =
int, char
* =3D "", char * =3D "")':
graph.cc:584: type `Window' is not yet defined


and many ansi C++ forbids errors

what may be the reason?

------=_NextPart_000_000C_01C06BF6.34C49840
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 =
Transitional//EN">
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT>
<DIV>I wrote a C++ program in Rhide</DIV>
<DIV>Simultaneously i was also creating a c program.</DIV>
<DIV>&nbsp;</DIV>
<DIV>earlier the c++ program was compiling properly now its giving weird =
errors=20
i cannot figure out why? suddenly </DIV>
<DIV>errors areas follows</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>graph.cc: In method `void=20
Button::create_unclicked_button()':<BR>graph.cc:435: `theme' undeclared =
(first=20
use this function)<BR>graph.cc: In method =
`Button::Button()':<BR>graph.cc:477:=20
type `Window' is not an immediate basetype for `Button'<BR>graph.cc: In =
method=20
`Button::Button(Window *, int, int, int, int, int =3D TYPE_BUT<BR>TON, =
char * =3D=20
"", char * =3D "")':<BR>graph.cc:483: type `Window' is not an immediate =
basetype=20
for `Button'<BR>graph.cc: In method `int Button::setparam(Window *, int, =
int,=20
int, int, int =3D ST<BR>YLE_BUTTON, char * =3D "", char * =3D =
"")':<BR>graph.cc:507:=20
type `Window' is not yet defined<BR>graph.cc: In method `void=20
Button::disable()':<BR>graph.cc:544: no method =
`Window::disable'<BR>graph.cc: At=20
top level:<BR>graph.cc:564: base class `Window' has incomplete=20
type<BR>graph.cc:591: warning: all member functions in class `FrameWnd' =
are=20
private<BR>graph.cc: In method `FrameWnd::FrameWnd()':<BR>graph.cc:570: =
type=20
`Window' is not an immediate basetype for `FrameWnd'<BR>graph.cc: In =
method=20
`FrameWnd::FrameWnd(Window *, int, int, int, int, char * =3D "<BR>", =
char * =3D=20
"")':<BR>graph.cc:575: type `Window' is not an immediate basetype for=20
`FrameWnd'<BR>graph.cc: In method `void FrameWnd::setparam(Window *, =
int, int,=20
int, int, char<BR>* =3D "", char * =3D "")':<BR>graph.cc:584: type =
`Window' is not=20
yet defined<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>and many ansi C++ forbids errors</DIV>
<DIV>&nbsp;</DIV>
<DIV>what may be the reason?</DIV></BODY></HTML>

------=_NextPart_000_000C_01C06BF6.34C49840--

- Raw text -


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