Hi, currently in my bug hunting endeavor, I am stumbled on some errors. I tried implementing the VC's native CRT debugger / memory leak detector from this web: http://msdn.microsoft.com/en-us/libr...h3(VS.80).aspx. But now I can't compile my code because it produces lots of warnings C4003 & errors C2059 like the quote below:
It seems like there's a 'free' macro that has already been defined. But the funny thing is, all of the instance of 'free' are regarded as errors. Even if they are a member function of a class. For example, the above quoted error is from a member function of a Convex class (as in "Convex::free()" ). How do I solve this besides having to undef the macro? I mean, if I undef-ed the macro, what's the point of using the CRT debugger / memory leak detector in the first place, right?19>c:\convex.h(109) : warning C4003: not enough actual parameters for macro 'free'
19>c:\convex.h(109) : error C2059: syntax error : ','
Thanks a lot in advance.