|
From: Ioannis V. <no...@ya...> - 2002-01-08 21:51:34
|
You haven't provided the function definition. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.d2g.com * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Andre` Niel Cameron > Sent: Tuesday, January 08, 2002 11:22 PM > To: Williams, Timothy W.; Dev-C++ > Subject: Re: [Dev-C++] (no subject) >=20 >=20 > That was it Duh to me;) Sorry guys its been acouple of years=20 > since I have used C/C++ bear with me;) Last one promise any=20 > clues on this: >=20 > /tmp/ccIZJ7So.o(.text+0x4): undefined reference to `titleshot(void)' >=20 > Thats what popped up after the other error went away. > Regards, > Andr=E9 C. > Technical Support > =D4=BF=D4=AC > -------------------------------------------------------------- > -------------- > - > Visit our support manual at http://supportmanual.com/ > ----- Original Message ----- > From: "Williams, Timothy W." <TIM...@sa...> > To: "'Andre` Niel Cameron'" <An...@Ax...>; "Dev-C++"=20 > <dev...@li...> > Sent: Tuesday, January 08, 2002 1:58 PM > Subject: RE: [Dev-C++] (no subject) >=20 >=20 > > It's tough to tell without more code but my guess is that you don't=20 > > have a function declaration? Admittedly, I haven't been=20 > following this=20 > > list so maybe I missed > something. > > > > For example: > > > > //must be declared before it is used. > > int titleshot(int n); > > > > int main() > > { > > int i =3D titleshot(3); > > system("PAUSE"); > > return 0; > > } > > > > int titleshot(int n) > > { > > return 1; > > } > > > > If it's more complex that this, post the code... > > --tim > > > > > -----Original Message----- > > > From: Andre` Niel Cameron [mailto:An...@Ax...] > > > Sent: Tuesday, January 08, 2002 1:45 PM > > > To: Dev-C++ > > > Subject: [Dev-C++] (no subject) > > > > > > > > > battle.c:8: warning: implicit declaration of function `int=20 > > > titleshot(...)' > > > > > > Any CLUE what this might mean? > > > Regards, > > > Andr=E9 C. > > > Technical Support > > > =D4=BF=D4=AC > > > -------------------------------------------------------------- > > > -------------- > > > - > > > Visit our support manual at http://supportmanual.com/ > > > > > > > > > _______________________________________________ > > > Dev-cpp-users mailing list Dev...@li... > > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > >=20 >=20 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >=20 |