X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FIpf%2FProcessorBind.h;h=fdc0a4dd3bc6143a4fd2c4f617c482f92053b49c;hp=a383868fc62bd306eac0f99b01481427858bc8ec;hb=b483e39524be82e44caa2804145415d17713a6a5;hpb=b79cf16550b02148cb670a36683f0f4ca20b92ce diff --git a/MdePkg/Include/Ipf/ProcessorBind.h b/MdePkg/Include/Ipf/ProcessorBind.h index a383868fc6..fdc0a4dd3b 100644 --- a/MdePkg/Include/Ipf/ProcessorBind.h +++ b/MdePkg/Include/Ipf/ProcessorBind.h @@ -28,28 +28,29 @@ #pragma pack() -#if _MSC_EXTENSIONS - -// -// Disable warning that make it impossible to compile at /W4 -// This only works for Microsoft tools. Copied from the -// IA-32 version of efibind.h -// - #if __INTEL_COMPILER // -// Disable ICC's error #1418: external function definition with no prior declaration +// Disable ICC's remark #1418: external function definition with no prior declaration. +// This is legal ANSI C code so we disable the remark that is turned on with /W4 // #pragma warning ( disable : 1418 ) // -// Disable ICC's error #1419: external declaration in primary source file +// Disable ICC's remark #1419: external declaration in primary source file +// This is legal ANSI C code so we disable the remark that is turned on with /W4 // #pragma warning ( disable : 1419 ) #endif + +#if _MSC_EXTENSIONS +// +// Disable warning that make it impossible to compile at /W4 +// This only works for Microsoft tools. +// + // // Disabling bitfield type checking warnings. //