From: klu2 Date: Wed, 27 Jun 2007 04:59:16 +0000 (+0000) Subject: Disable the warning of bitfield X-Git-Tag: edk2-stable201903~23187 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=ecb8241b393dbed798cc06e2b6610557779a8ee3 Disable the warning of bitfield git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2768 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/IndustryStandard/Pal.h b/MdePkg/Include/IndustryStandard/Pal.h index 4f079ad156..f2601726db 100644 --- a/MdePkg/Include/IndustryStandard/Pal.h +++ b/MdePkg/Include/IndustryStandard/Pal.h @@ -20,7 +20,13 @@ // // IPF Specific Functions // - +#ifdef _MSC_VER +// +// Disabling bitfield type checking warnings. +// +#pragma warning ( disable : 4214 ) +#endif + typedef struct { UINT64 Status; UINT64 r9; @@ -140,6 +146,7 @@ typedef struct { UINT64 AliasBoundary:8; UINT64 TagLsBits:8; UINT64 TagMsBits:8; + UINT64 Reserve:8; } PAL_CACHE_INFO_RETURN2; /**