Message-ID: <000901c06b86$524028a0$fd38c5cb@a> From: "Siddhu." To: Subject: Help Date: Fri, 22 Dec 2000 01:13:40 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01C06BB4.6B476420" 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_0006_01C06BB4.6B476420 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_0006_01C06BB4.6B476420 Content-Type: text/html; 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=20 i cannot figure out why? suddenly
errors areas follows
 
 
graph.cc: In method `void=20 Button::create_unclicked_button()':
graph.cc:435: `theme' undeclared = (first=20 use this function)
graph.cc: In method = `Button::Button()':
graph.cc:477:=20 type `Window' is not an immediate basetype for `Button'
graph.cc: In = method=20 `Button::Button(Window *, int, int, int, int, int =3D TYPE_BUT
TON, = char * =3D=20 "", char * =3D "")':
graph.cc:483: type `Window' is not an immediate = basetype=20 for `Button'
graph.cc: In method `int Button::setparam(Window *, int, = int,=20 int, int, int =3D ST
YLE_BUTTON, char * =3D "", char * =3D = "")':
graph.cc:507:=20 type `Window' is not yet defined
graph.cc: In method `void=20 Button::disable()':
graph.cc:544: no method = `Window::disable'
graph.cc: At=20 top level:
graph.cc:564: base class `Window' has incomplete=20 type
graph.cc:591: warning: all member functions in class `FrameWnd' = are=20 private
graph.cc: In method `FrameWnd::FrameWnd()':
graph.cc:570: = type=20 `Window' is not an immediate basetype for `FrameWnd'
graph.cc: In = method=20 `FrameWnd::FrameWnd(Window *, int, int, int, int, char * =3D "
", = char * =3D=20 "")':
graph.cc:575: type `Window' is not an immediate basetype for=20 `FrameWnd'
graph.cc: In method `void FrameWnd::setparam(Window *, = int, int,=20 int, int, char
* =3D "", char * =3D "")':
graph.cc:584: type = `Window' is not=20 yet defined
 
and many ansi C++ forbids errors
 
what may be the reason?
------=_NextPart_000_0006_01C06BB4.6B476420--