delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/05/09/09:45:42

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: incompatible implicit declaration of built-in function...
Date: 9 May 2006 13:31:09 GMT
Lines: 13
Message-ID: <4cbjstF14l23bU1@news.dfncis.de>
References: <446093bc$0$12932$91cee783 AT newsreader02 DOT highway DOT telekom DOT at>
X-Trace: news.dfncis.de DIU5DGVoHFsirUzixou0oA8poeBZpCyvq+WqAzSWJTBwTa6MIMpyLot4Il
X-Orig-Path: not-for-mail
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Florian Xaver <wosrediinanatour AT aon DOT at> wrote:
> src/xlib/conlib.c:103: warning: incompatible implicit declaration of 
> built-in function 'memset'
[...]

> What could be the reason?

Failure to explicitly declare memset() before using it.  I.e. failure
to #include <string.h>.  Bad style, and potentially harmful.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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