I''m trying to get this memory manager to work, but I can''t compile anything without getting these errors:
c:\program files\microsoft visual studio\vc98\include\stdlib.h(281) : warning C4002: too many actual parameters for macro ''calloc''
c:\program files\microsoft visual studio\vc98\include\stdlib.h(281) : error C2059: syntax error : ''string''
c:\program files\microsoft visual studio\vc98\include\stdlib.h(283) : error C2062: type ''void'' unexpected
c:\program files\microsoft visual studio\vc98\include\stdlib.h(298) : error C2059: syntax error : ''string''
c:\program files\microsoft visual studio\vc98\include\stdlib.h(306) : error C2059: syntax error : ''string''
Any ideas?
how to find memory leak
It probably replaces malloc, free and the other function using a define, so make sure to include it after you include stdlib.h.
Thanks for the link slyterence... I finally figured out why my program is crashing
The manager is telling me that "A memory allocation unit was corrupt because of an overrun" and gives me a line number and everything
Problem is I don''t know what this means, and after looking over the code it seems to be fine...
The manager is telling me that "A memory allocation unit was corrupt because of an overrun" and gives me a line number and everything
Problem is I don''t know what this means, and after looking over the code it seems to be fine...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement