Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Removed OutputDebugString support until I can test it on a Windows machine

Commit
5108821199b121328aa5e5bee094073cd0af91d4
Author
Phil Nash ·
Parents
ae307b000a62

Files · Download .tar.gz

Changes

 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