delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/20/02:25:32

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: warning: implicit delclaration of function 'int memset(...)'
Date: Mon, 19 Oct 1998 23:07:49 -0700
Organization: Alcyone Systems
Lines: 21
Message-ID: <362C28B5.107D2205@alcyone.com>
References: <1mRW1.21509$re DOT 3501354 AT HME2 DOT newscontent-01 DOT sprint DOT ca>
NNTP-Posting-Host: kamali.alcyone.com
Mime-Version: 1.0
X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.30 i586)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jay wrote:

> warning: implicit delclaration of function 'int memset(...)'
> 
> What does this mean? All I did was
> 
> memset(VGA,0,320*200);
> 
> ???

It means it doesn't know what memset is because you haven't included the
proper header file, string.h.

-- 
Erik Max Francis / email max AT alcyone DOT com / whois mf303 / icq 16063900 
Alcyone Systems / irc maxxon (efnet) / finger max AT sade DOT alcyone DOT com
  San Jose, CA / languages En, Eo / web http://www.alcyone.com/max/
          USA / icbm 37 20 07 N 121 53 38 W / &tSftDotIotE
             \
            / Sometimes a cigar is just a cigar.
           / Sigmund Freud

- Raw text -


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