]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Updated comments for IntelCompiler specific warnings
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 6 Jul 2007 18:48:06 +0000 (18:48 +0000)
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 6 Jul 2007 18:48:06 +0000 (18:48 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3133 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Ia32/ProcessorBind.h
MdePkg/Include/Ipf/ProcessorBind.h
MdePkg/Include/x64/ProcessorBind.h

index 61273e624ce6ae678073086abfe92b5f34757f4b..2dccac4eb07a286f0a919deda7e0cc3a92462b78 100644 (file)
 #pragma pack()\r
 #endif\r
 \r
+#if __INTEL_COMPILER\r
+//\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 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
 //\r
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
index d0c02c347418e7a80afd4d87fc8c6f06b9c552d8..a4a1a35e3583ca9eef00d253d1ffc00d3f40a6d5 100644 (file)
 #pragma pack()\r
 #endif\r
 \r
+\r
+#if __INTEL_COMPILER\r
+//\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 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
 //\r