cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/14/17:33:01

From: "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Implicit declaration ??
Date: Sun, 14 Dec 1997 13:42:05 -0500
Organization: Cornell University (http://www.cornell.edu/)
Lines: 19
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <3494287D.DE715DB3@cornell.edu>
References: <67156t$5np$1 AT walton DOT videotron DOT net>
NNTP-Posting-Host: cu-dialup-0054.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jean-Sebastien Payette wrote:
> 
> tell me 'warning : implicit declaration or function int delay(...)'. 
>Now I know that rhide just redirect the output from gcc BUT in my 
> program the function work! I mean it does the delay for real...
> 
> So why gcc give me this error?? It find the function somewhere if he 
> execute it... Why giving me an error??

you did not include the header file that declares delay (i think it is
dos.h) it is the linker which finds the function in libc.a an links it.
-- 
----------------------------------------------------------------------
A. Sinan Unur
Department of Policy Analysis and Management, College of Human Ecology,
Cornell University, Ithaca, NY 14853, USA

mailto:sinan DOT unur AT cornell DOT edu
http://www.people.cornell.edu/pages/asu1/

- Raw text -


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