Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-02-10 17:12:41 +0100
committerMartin Hořeňovský2017-02-10 17:12:41 +0100
commitf75a511b5c329f3bdbf759764620b923ef4267d0 (patch)
treea2725ad3829aed07afb3556476b1228820de2c8b /include
parentab44fb6811f1fee96fcb66ceb448602686bc5e41 (diff)
downloadcatch3-f75a511b5c329f3bdbf759764620b923ef4267d0.tar.gz
Fix MSVC /analyze warning about inconsistent annotations
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_debugger.hpp4
1 files changed, 3 insertions, 1 deletions
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() );