Menu

#48 Unable to Compile Project when undefine EnableMemoryLeakRepo

open
nobody
None
5
2010-11-18
2010-11-18
Anonymous
No

For hiding the memory leak dialog by shutdown the programme I tried to disable EnableMemoryLeakReporting ($UNDEF EnableMemoryLeakReporting}.

By doing so, I get a compiler message that RegisterExpectedMemoryLeak (line 6872) and UnregisterExptectedMemoryLeak (line 6948) were unknown.

My modifications of FastMM4Options.inc are:
{$define AssumeMultiThreaded}
{$undef NoMessageBoxes}
{$undef FullDebugMode}
{$define ShareMMIfLibrary}
{$undef EnableMemoryLeakReporting}
{$define ShareMM}
{$define ShareMMIfLibrary}
{$define AttemptToUseSharedMM}
{$define FullDebugModeWhenDLLAvailable}

Seems I caused the situation because the original configuration works fine.

I have traced down the problem. i set

{$define FullDebugModeWhenDLLAvailable}
AND
{$undef EnableMemoryLeakReporting}

This configuration is not a good one ^.^

HTH

Discussion


Log in to post a comment.

MongoDB Logo MongoDB