From 350cc2df2da1119b5c0926ad6d3b157d96cc7d4c Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 22 Apr 2016 12:27:00 -0300 Subject: [PATCH] Show text on console too when TRACE() is used on Windows --- src/base/debug.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/base/debug.cpp b/src/base/debug.cpp index cc965f26a..5f0dfe7af 100644 --- a/src/base/debug.cpp +++ b/src/base/debug.cpp @@ -63,14 +63,10 @@ void base_trace(const char* msg, ...) va_end(ap); #ifdef _WIN32 - _CrtDbgReport(_CRT_WARN, NULL, 0, NULL, buf); - -#else +#endif std::cerr << buf << std::flush; - -#endif } #endif