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

Fix MSVC /analyze warning about inconsistent annotations

Commit
f75a511b5c329f3bdbf759764620b923ef4267d0
Author
Martin Hořeňovský ·
Parents
ab44fb6811f1

Files · Download .tar.gz

Changes

 include/internal/catch_debugger.hpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/internal/catch_debugger.hpp b/include/internal/catch_debugger.hpp
index 77ab29cc..63d476bb 100644
--- a/include/internal/catch_debugger.hpp
+++ b/include/internal/catch_debugger.hpp
@@ -109,7 +109,9 @@
 #endif // Platform
 
 #ifdef CATCH_PLATFORM_WINDOWS
-    extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA( const char* );
+
+#include "catch_windows_h_proxy.h"
+
     namespace Catch {
         void writeToDebugConsole( std::string const& text ) {
             ::OutputDebugStringA( text.c_str() );