www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/27/23:03:23

Date: Wed, 27 Aug 1997 20:01:50 -0700 (PDT)
Message-Id: <199708280301.UAA10647@adit.ap.net>
Mime-Version: 1.0
To: DBerry AT dca DOT gov DOT au, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: delay() and -Wall

At , 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);
There is no prototype for delay() in scope. You need to #include <dos.h>

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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