This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Where is malloc() defined?
- To: joe dot stevens at gsfc dot nasa dot gov (Joe Stevens)
- Subject: Re: Where is malloc() defined?
- From: epeschko at den-mdev1 dot tci dot com (Ed Peschko)
- Date: Fri, 2 Jan 1998 19:50:39 -0700 (MST)
- 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@cygnus.com" with one line of text: "help".