Skip to content

Commit de29c4d

Browse files
jkotasmmitche
authored andcommitted
Disable warnings to fix build break with latest Visual Studio update (dotnet#20124)
1 parent aa7b893 commit de29c4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vm/i386/profiler.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
#ifdef PROFILING_SUPPORTED
1616
#include "proftoeeinterfaceimpl.h"
1717

18+
#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
19+
1820
//
1921
// The following structure is the format on x86 builds of the data
2022
// being passed in plaformSpecificHandle for ProfileEnter/Leave/Tailcall

0 commit comments

Comments
 (0)