]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Change to shared header file unrelated to open-vm-tools
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:03 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:03 +0000 (11:23 -0700)
open-vm-tools/lib/include/x86cpuid.h

index 8063fc5ce6fe3d6de8235cf9bde20f3b022810be..e6bbacb5cd869ca6c1b689251c88f764cd7d2020 100644 (file)
@@ -73,7 +73,10 @@ typedef union CPUIDRegsUnion {
  * Results of calling cpuid(eax, ecx) on all host logical CPU.
  */
 #ifdef _MSC_VER
+// TODO: Move this under the push
 #pragma warning (disable :4200) // non-std extension: zero-sized array in struct
+#pragma warning (push)
+#pragma warning (disable :4100) // unreferenced parameters
 #endif
 
 typedef
@@ -2039,4 +2042,8 @@ CPUID_SupportsMsrPlatformInfo(CpuidVendor vendor, uint32 version)
            CPUID_MODEL_IS_AVOTON(version));
 }
 
+#ifdef _MSC_VER
+#pragma warning (pop)
+#endif
+
 #endif