From f75a511b5c329f3bdbf759764620b923ef4267d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Fri, 10 Feb 2017 17:12:41 +0100 Subject: [PATCH] Fix MSVC /analyze warning about inconsistent annotations --- 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() );