From b483e39524be82e44caa2804145415d17713a6a5 Mon Sep 17 00:00:00 2001 From: AJFISH Date: Fri, 6 Jul 2007 18:48:06 +0000 Subject: Updated comments for IntelCompiler specific warnings git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3133 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Ia32/ProcessorBind.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'MdePkg/Include/Ia32') diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h index 61273e624c..2dccac4eb0 100644 --- a/MdePkg/Include/Ia32/ProcessorBind.h +++ b/MdePkg/Include/Ia32/ProcessorBind.h @@ -27,6 +27,23 @@ #pragma pack() #endif +#if __INTEL_COMPILER +// +// 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 +// +#pragma warning ( disable : 1419 ) + +#endif + + #if _MSC_EXTENSIONS // -- cgit v1.2.3