From 6de717ad0f1105c341d3f1dc85e9d9199a5056f6 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Tue, 25 Sep 2018 18:57:10 -0700 Subject: [PATCH] Disable warnings to fix build break with latest Visual Studio update --- src/vm/i386/profiler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vm/i386/profiler.cpp b/src/vm/i386/profiler.cpp index 11d4247aefb0..fc310350aa3b 100644 --- a/src/vm/i386/profiler.cpp +++ b/src/vm/i386/profiler.cpp @@ -15,6 +15,8 @@ #ifdef PROFILING_SUPPORTED #include "proftoeeinterfaceimpl.h" +#pragma warning(disable:4644) // usage of the macro-based offsetof pattern in constant expressions is non-standard; use offsetof defined in the C++ standard library instead + // // The following structure is the format on x86 builds of the data // being passed in plaformSpecificHandle for ProfileEnter/Leave/Tailcall