delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/28/16:31:34

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: delay() and -Wall
Date: Thu, 28 Aug 1997 07:10:56 -0400
Organization: Cornell University http://www.cornell.edu
Lines: 27
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <34055CC0.6380@cornell.edu>
References: <0000xnprxnnz DOT 0000wwmsoqmi AT dca DOT gov DOT au>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0061.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

DBerry AT dca DOT gov DOT au wrote:
> 
> I have a program that works fine.  However when I compile it with the -Wall
> switch I get the following message:
> 
> para.c: In function `main':
> para.c:163: warning: implicit declaration of function `delay' - The
> statement is just a delay(1000);
> 
> it still runs ok, and the delay statement works as expected.

do:

info libc alpha delay

and find out which header you forgot to include.
-- 
   Sinan
 
*******************************************************************
 A. Sinan Unur                                WWWWWW
                                              |--O+O
 mailto:sinan DOT unur AT cornell DOT edu                C   ^ 
 http://www.people.cornell.edu/pages/asu1/     \  ~/ 

Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************

- Raw text -


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