]> git.proxmox.com Git - mirror_edk2.git/commitdiff
edk2/MdePkg/Include/x64/ProcessorBind.h:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 3 Sep 2008 23:20:24 +0000 (23:20 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 3 Sep 2008 23:20:24 +0000 (23:20 +0000)
edk2/MdePkg/Include/Ipf/ProcessorBind.h:
* Merge ICC warning ignores from Ia32/ProcessorBind.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5805 6f19259b-4bc3-4df7-8a09-765794883524

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

index 1021917b2ffd02298dddf874f75424aea9e78f06..29222bba60f304fe9a4efb9bcc4bde62756939b2 100644 (file)
 \r
 \r
 #if __INTEL_COMPILER\r
+//\r
+// Disable ICC's remark #593: "LocalVariable" was set but never used\r
+// This is legal ANSI C code so we disable the remark that is turned on with -Wall\r
+//\r
+#pragma warning ( disable : 593 )\r
+\r
+//\r
+// Disable ICC's remark #869: "Parameter" was never referenced warning.\r
+// This is legal ANSI C code so we disable the remark that is turned on with -Wall\r
+//\r
+#pragma warning ( disable : 869 )\r
+\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
index 457555bf379eb749258385e1a8d307a4d9799668..97f4b287536ed1136658929a90e8427e59bfc332 100644 (file)
 \r
 \r
 #if __INTEL_COMPILER\r
+//\r
+// Disable ICC's remark #593: "LocalVariable" was set but never used\r
+// This is legal ANSI C code so we disable the remark that is turned on with -Wall\r
+//\r
+#pragma warning ( disable : 593 )\r
+\r
+//\r
+// Disable ICC's remark #869: "Parameter" was never referenced warning.\r
+// This is legal ANSI C code so we disable the remark that is turned on with -Wall\r
+//\r
+#pragma warning ( disable : 869 )\r
+\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
@@ -46,8 +57,8 @@
 #endif\r
 \r
 \r
-#if _MSC_EXTENSIONS \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\r