From cd13445812fa1af466755dc37a8e0518270aa668 Mon Sep 17 00:00:00 2001 From: gerstrong Date: Sat, 25 Jul 2009 17:47:09 +0000 Subject: [PATCH] finally Win32 compiles git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@176 4df4b0f3-56ce-47cb-b001-ed939b7d65a6 --- src/Debug.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Debug.cpp b/src/Debug.cpp index 02928f89e..d0eb477bf 100644 --- a/src/Debug.cpp +++ b/src/Debug.cpp @@ -465,14 +465,14 @@ public: StackWalker::OnOutput(szText); } }; - +*/ void DumpCallstackPrintf(void* callpnt) { - PrintStackWalker sw; - sw.ShowCallstack(); + /*PrintStackWalker sw; + sw.ShowCallstack();*/ } -void DumpCallstack(void (*LineOutFct) (const std::string&)) +/*void DumpCallstack(void (*LineOutFct) (const std::string&)) { PrintStackWalker sw(LineOutFct); sw.ShowCallstack(); @@ -562,6 +562,7 @@ static bool logger_output(Logger& log, const std::string& buf) { } if(Logger_Verbosity >= log.minCallstackVerb) { DumpCallstackPrintf(); + // TODO: Check wether that call with NULL is correct } return ret; }