X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <46253901.1CE88195@yahoo.com> Date: Tue, 17 Apr 2007 17:15:45 -0400 From: CBFalconer Organization: Ched Research http://cbfalconer.home.att.net X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: missing ANSI functions in memory.h References: <58kegmF2gqrdnU1 AT mid DOT individual DOT net> <6fidncRj4KsWiLjbnZ2dnUVZ_vfinZ2d AT comcast DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 41 NNTP-Posting-Date: 17 Apr 2007 20:27:06 GMT X-Complaints-To: abuse AT teranews DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Jim Michaels wrote: > Martin Ambuhl wrote: >> Jim Michaels wrote: > ... snip ... >> >> There is no memory.h (or ) in C. If you ever had one, >> it was an implementation-specific extension. >> >>> malloc is defined, calloc is defined, free is defined. but where >>> are the other functions like memset and memcpy? >> >> The malloc, calloc, realloc, free family is prototyped in >> memset and memcpy are prototyped in >> >>> The documentation I saw in MSDN said it was an ANSI function. >> >> They are ISO (and ANSI) functions, but >> >>> when I #included >> >> is not. >> ... snip ... > > hmm. I am using DJGPP. this is what rhide compiles .cc files with > by default. I know of no way to fix this. should it be using gxx > instead? I don't know the difference. Don't include memory.h. Include -- "A man who is right every time is not likely to do very much." -- Francis Crick, co-discover of DNA "There is nothing more amazing than stupidity in action." -- Thomas Matthews -- Posted via a free Usenet account from http://www.teranews.com