]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ipf/ProcessorBind.h
Updated comments for IntelCompiler specific warnings
[mirror_edk2.git] / MdePkg / Include / Ipf / ProcessorBind.h
index a383868fc62bd306eac0f99b01481427858bc8ec..fdc0a4dd3bc6143a4fd2c4f617c482f92053b49c 100644 (file)
 #pragma pack()\r
 \r
 \r
-#if _MSC_EXTENSIONS\r
-\r
-//\r
-// Disable warning that make it impossible to compile at /W4\r
-// This only works for Microsoft tools. Copied from the\r
-// IA-32 version of efibind.h\r
-//\r
-\r
 #if __INTEL_COMPILER\r
 //\r
-// Disable ICC's error #1418: external function definition with no prior declaration\r
+// Disable ICC's remark #1418: external function definition with no prior declaration.\r
+// This is legal ANSI C code so we disable the remark that is turned on with /W4\r
 //\r
 #pragma warning ( disable : 1418 )\r
 \r
 \r
 //\r
-// Disable ICC's error #1419: external declaration in primary source file\r
+// Disable ICC's remark #1419: external declaration in primary source file\r
+// This is legal ANSI C code so we disable the remark that is turned on with /W4\r
 //\r
 #pragma warning ( disable : 1419 )\r
 \r
 #endif\r
 \r
+\r
+#if _MSC_EXTENSIONS\r
+//\r
+// Disable warning that make it impossible to compile at /W4\r
+// This only works for Microsoft tools. \r
+//\r
+\r
 //\r
 // Disabling bitfield type checking warnings.\r
 //\r