missing ANSI functions in memory.h
- From: Jim Michaels <NOSPAMFOR-jmichae3-@xxxxxxxxx>
- Date: Tue, 17 Apr 2007 10:21:25 -0700
I tried to find the proper memory.h in all the files I could, but I didn't seem to find anything.
malloc is defined, calloc is defined, free is defined. but where are the other functions like memset and memcpy?
The documentation I saw in MSDN said it was an ANSI function.
when I #included <memory.h> and compiled with DJGPP's gcc, it gave me the error:
In copy constructor 'var_array::var_array(const var_array&)':
124.cc(20) Error: error: 'memcpy' was not declared in this scope
in MS's implementation it was defined in both memory.h and string.h
I am not sure what the ANSI standard did say however.
.
- Follow-Ups:
- Re: missing ANSI functions in memory.h
- From: Martin Ambuhl
- Re: missing ANSI functions in memory.h
- Prev by Date: Re: gcc bug?
- Next by Date: Re: missing ANSI functions in memory.h
- Previous by thread: www.delorie.com unreachable?
- Next by thread: Re: missing ANSI functions in memory.h
- Index(es):
Relevant Pages
|