summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-03 23:20:24 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-03 23:20:24 +0000
commit1fb24cc4458b96b70b46c30a1d1d4ea1bff924e2 (patch)
tree80b168ac85121722c1cf5d8a372fc8f8a05a2828 /MdePkg
parent427c6c737e43f3b6c4cffde7776544111fbb1691 (diff)
downloadedk2-platforms-1fb24cc4458b96b70b46c30a1d1d4ea1bff924e2.tar.xz
edk2/MdePkg/Include/x64/ProcessorBind.h:
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
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Ipf/ProcessorBind.h13
-rw-r--r--MdePkg/Include/x64/ProcessorBind.h17
2 files changed, 26 insertions, 4 deletions
diff --git a/MdePkg/Include/Ipf/ProcessorBind.h b/MdePkg/Include/Ipf/ProcessorBind.h
index 1021917b2f..29222bba60 100644
--- a/MdePkg/Include/Ipf/ProcessorBind.h
+++ b/MdePkg/Include/Ipf/ProcessorBind.h
@@ -30,12 +30,23 @@
#if __INTEL_COMPILER
//
+// Disable ICC's remark #593: "LocalVariable" was set but never used
+// This is legal ANSI C code so we disable the remark that is turned on with -Wall
+//
+#pragma warning ( disable : 593 )
+
+//
+// Disable ICC's remark #869: "Parameter" was never referenced warning.
+// This is legal ANSI C code so we disable the remark that is turned on with -Wall
+//
+#pragma warning ( disable : 869 )
+
+//
// 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 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
diff --git a/MdePkg/Include/x64/ProcessorBind.h b/MdePkg/Include/x64/ProcessorBind.h
index 457555bf37..97f4b28753 100644
--- a/MdePkg/Include/x64/ProcessorBind.h
+++ b/MdePkg/Include/x64/ProcessorBind.h
@@ -31,12 +31,23 @@
#if __INTEL_COMPILER
//
+// Disable ICC's remark #593: "LocalVariable" was set but never used
+// This is legal ANSI C code so we disable the remark that is turned on with -Wall
+//
+#pragma warning ( disable : 593 )
+
+//
+// Disable ICC's remark #869: "Parameter" was never referenced warning.
+// This is legal ANSI C code so we disable the remark that is turned on with -Wall
+//
+#pragma warning ( disable : 869 )
+
+//
// 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 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
@@ -46,8 +57,8 @@
#endif
-#if _MSC_EXTENSIONS
-
+#if _MSC_EXTENSIONS
+
//
// Disable warning that make it impossible to compile at /W4
// This only works for Microsoft* tools