From 185129ed602ea4bc491c60a80a1376f873e71346 Mon Sep 17 00:00:00 2001 From: Malcolm Noyes Date: Tue, 17 Dec 2013 12:36:11 +0000 Subject: [PATCH] Suppress warning (unreferenced type) at W4 for VS native headers --- include/internal/catch_vs_native_impl.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/internal/catch_vs_native_impl.hpp b/include/internal/catch_vs_native_impl.hpp index 71b8472c..55a4d997 100644 --- a/include/internal/catch_vs_native_impl.hpp +++ b/include/internal/catch_vs_native_impl.hpp @@ -11,7 +11,10 @@ #ifdef INTERNAL_CATCH_VS_NATIVE +#pragma warning( disable : 4505 ) + #include "CppUnitTest.h" + using Microsoft::VisualStudio::CppUnitTestFramework::Logger; using Microsoft::VisualStudio::CppUnitTestFramework::Assert; using Microsoft::VisualStudio::CppUnitTestFramework::__LineInfo;