From 5108821199b121328aa5e5bee094073cd0af91d4 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Wed, 19 Jan 2011 19:19:06 +0000 Subject: [PATCH] Removed OutputDebugString support until I can test it on a Windows machine --- internal/catch_debugger.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/internal/catch_debugger.hpp b/internal/catch_debugger.hpp index 5edcf5ec..60d7b129 100644 --- a/internal/catch_debugger.hpp +++ b/internal/catch_debugger.hpp @@ -87,9 +87,11 @@ inline void writeToDebugConsole( const std::string& text ) { -#ifdef _WIN32 - ::OutputDebugStringA( text.get() ); -#else + // !TBD: Get Windows version working + // - need to declare OutputDebugStringA without Windows.h +//#ifdef _WIN32 +// ::OutputDebugStringA( text.c_str() ); +//#else // !TBD: Need a version for Mac/ XCode and other IDEs std::cout << text; #endif