src/Generic/commandLineInterface/CommandLineInterface.cpp
/** Initialize the leak detection system (if enabled). */
Initialize the leak detection system (if enabled).
Initialize the leak detection system ( if enabled ) .
void initializeLeakDetection() {
		#ifdef ENABLE_LEAK_DETECTION
		_CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_DEBUG | _CRTDBG_MODE_FILE);
		_CrtSetReportFile(_CRT_ERROR, _CRTDBG_FILE_STDOUT);
		_CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_DEBUG | _CRTDBG_MODE_FILE);
		_CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDOUT);
		#endif
	}
void initializeLeakDetection ( ) { #ifdef ENABLE_LEAK_DETECTION _CrtSetReportMode ( _CRT_ERROR , _CRTDBG_MODE_DEBUG | _CRTDBG_MODE_FILE ) ; _CrtSetReportFile ( _CRT_ERROR , _CRTDBG_FILE_STDOUT ) ; _CrtSetReportMode ( _CRT_WARN , _CRTDBG_MODE_DEBUG | _CRTDBG_MODE_FILE ) ; _CrtSetReportFile ( _CRT_WARN , _CRTDBG_FILE_STDOUT ) ; #endif }
Initialize the leak detection system (if enabled).
Initialize the leak detection system ( if enabled ) .
// Tell CRT to report memory leaks on exit:
 //_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
 //_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_DELAY_FREE_MEM_DF );
 // Display memory leak information to stdout:
 // To track down a specific memory leak, check the allocation identifier that's printed
 // when the memory leak is dumped.  Then uncomment the following line, and set <NNNN> to
 // be the value of that identifier.
 //_crtBreakAlloc = <NNNN>;
 // In the watch window (for Visual Studio 9.0), you can edit this value using:
 //    {,,msvcr90d.dll}_crtBreakAlloc
