From: Oliver Kurth Date: Tue, 4 Sep 2018 22:40:58 +0000 (-0700) Subject: Common header file change not applicable to open-vm-tools X-Git-Tag: stable-11.0.0~410 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82f3edb174f4fff33d72358f4fb3bd1f00aa264f;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools --- diff --git a/open-vm-tools/lib/include/vm_basic_asm_x86_common.h b/open-vm-tools/lib/include/vm_basic_asm_x86_common.h index e6ac75357..f6fdbb339 100644 --- a/open-vm-tools/lib/include/vm_basic_asm_x86_common.h +++ b/open-vm-tools/lib/include/vm_basic_asm_x86_common.h @@ -410,6 +410,11 @@ SMP_W_BARRIER_R(void) : /* no additional inputs */ : "cc", "memory"); #elif defined _MSC_VER + /* + * Ignore warning about _InterlockedXor operation on a local variable; we are + * using the operation for its side-effects only. + */ + #pragma warning(suppress:28113) _InterlockedXor(&temp, 1); #else #error SMP_W_BARRIER_R not defined for this compiler