Sign in to follow this  
Coluna

MMGR error- xdebug

Recommended Posts

Coluna    314
Hello all; I use Paul Nettle MMGR to check memory leaks and so on. Before i chenge from vc6.0 to vs2003, all works fine...but now i got some errors like this \Vc7\include\xdebug(29) : error C2544: expected ')' for operator '()' in
_CRTIMP2 void * __cdecl operator new(size_t,
	const std::_DebugHeapTag_t&, char *, int)
		_THROW1(std::bad_alloc);	// allocate from the debug CRT heap

_CRTIMP2 void * __cdecl operator new[](size_t,
	const std::_DebugHeapTag_t&, char *, int)
		_THROW1(std::bad_alloc);	// allocate array from the debug CRT heap

_CRTIMP2 void __cdecl operator delete(void *,
	const std::_DebugHeapTag_t&, char *, int)
		_THROW0();	// delete if new for debug CRT heap fails
...


The file where the error appears is <xdebug>, that is included due to <fstream>...can anybody helps me?

Share this post


Link to post
Share on other sites
Evil Steve    2017
To expand on what mldaalder said, there's details on the order you should include things in in mmgr.cpp (Or it may be in the header, I don't recall offhand).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this