delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/02/19:49:30

From: epeschko AT den-mdev1 DOT tci DOT com (Ed Peschko)
Subject: Re: Where is malloc() defined?
2 Jan 1998 19:49:30 -0800 :
Message-ID: <199801030250.TAA14864.cygnus.gnu-win32@den-mdev1.tci.com>
References: <3 DOT 0 DOT 1 DOT 32 DOT 19980102135352 DOT 006d8544 AT defiant DOT gsfc DOT nasa DOT gov>
To: joe DOT stevens AT gsfc DOT nasa DOT gov (Joe Stevens)
Cc: gnu-win32 AT cygnus DOT com

> 
> At 09:31 AM 1/2/98 -0500, Arlindo da Silva wrote:
> >Joe,
> >> 
> >> I have just installed the latest gnu-win32. I was compiling a program and
> >> the compiler was unable to locate malloc.h. What header file is the
> >> malloc() defined.
> >> 
> >
> >Since "malloc.h" is not really ANSI it was left out.
> >A workaround is to create a single line "malloc.h":
> >
> >#include <stdlib.h>

Umm... couldn't this 'one line malloc.h' be included in the standard release 
of gnu-win32? I just ran into the same problem, and it seems like something 
that is a relatively easy thing to avoid (so people don't even have the 
problem in the first place.)

Ed

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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