From 1fb24cc4458b96b70b46c30a1d1d4ea1bff924e2 Mon Sep 17 00:00:00 2001 From: jljusten Date: Wed, 3 Sep 2008 23:20:24 +0000 Subject: 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 --- MdePkg/Include/Ipf/ProcessorBind.h | 13 ++++++++++++- MdePkg/Include/x64/ProcessorBind.h | 17 ++++++++++++++--- 2 files changed, 26 insertions(+), 4 deletions(-) (limited to 'MdePkg') 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 @@ -29,13 +29,24 @@ #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 @@ -30,13 +30,24 @@ #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 -- cgit v1.2.3