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 (
Lines: 19
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <>
References: <67156t$5np$1 AT walton DOT videotron DOT net>
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

- Raw text -

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