From 7f1513efc55180a75e1f4dc3010e1b3b391dbdfb Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Mon, 27 May 2019 08:57:39 -0600 Subject: Cleanup: Fix warning in blenlib with MSVC Some versions of the Windows SDK headers have a dbghelp.h that will emit C4091 warnings, repress them just this once, since the warn can be helpful in other places. --- source/blender/blenlib/intern/system.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/intern/system.c b/source/blender/blenlib/intern/system.c index f7892f5c224..88f2e2625e8 100644 --- a/source/blender/blenlib/intern/system.c +++ b/source/blender/blenlib/intern/system.c @@ -33,7 +33,10 @@ #if defined(WIN32) # include # include +# pragma warning(push) +# pragma warning(disable : 4091) # include +# pragma warning(pop) #else # include # include -- cgit v1.2.3