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
This commit is contained in:
jljusten 2008-09-03 23:20:24 +00:00
parent 427c6c737e
commit 1fb24cc445
2 changed files with 26 additions and 4 deletions

View File

@ -29,13 +29,24 @@
#if __INTEL_COMPILER #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. // 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 // This is legal ANSI C code so we disable the remark that is turned on with /W4
// //
#pragma warning ( disable : 1418 ) #pragma warning ( disable : 1418 )
// //
// Disable ICC's remark #1419: external declaration in primary source file // 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 // This is legal ANSI C code so we disable the remark that is turned on with /W4

View File

@ -30,13 +30,24 @@
#if __INTEL_COMPILER #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. // 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 // This is legal ANSI C code so we disable the remark that is turned on with /W4
// //
#pragma warning ( disable : 1418 ) #pragma warning ( disable : 1418 )
// //
// Disable ICC's remark #1419: external declaration in primary source file // 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 // This is legal ANSI C code so we disable the remark that is turned on with /W4
@ -46,8 +57,8 @@
#endif #endif
#if _MSC_EXTENSIONS #if _MSC_EXTENSIONS
// //
// Disable warning that make it impossible to compile at /W4 // Disable warning that make it impossible to compile at /W4
// This only works for Microsoft* tools // This only works for Microsoft* tools