delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/01/23:00:58

Date: Sun, 1 Feb 1998 18:40:46 -0800 (PST)
Message-Id: <199802020240.SAA15936@adit.ap.net>
Mime-Version: 1.0
To: pgarrett AT dalton DOT net, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: imlicit delecration?

At 08:31  1/30/1998 -0500, Philip Garrett wrote:
>
>
>Juuso Santeri Vilmunen wrote:
>
>> using rhide here and getting this warning message "implicit
>> delecration"...
>>
>> what's that?
>>
>> int *polybuffer=(int *)malloc(200*4*2);
>>
>> that's where the problem should be...
>>
>> shouldn't go wrong .. that's what i think.
>>
>> thnks for ya help
>>
>> Juuso
>
>
>Make sure you're include either <malloc.h> or <stdlib.h>.
<stdlib.h> is the standard solution. <malloc.h> is non-portable, and in fact
on DJGPP is only around for compatibility. It really just includes
<stdlib.h>, anyway.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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