mirror of https://github.com/acidanthera/audk.git
MdePkg: Disable VS2015 warning C4701 & C4703
C4701 & C4703 may cause false positive issues. They have been disabled in VS2013. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19111 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
6e3e562c9d
commit
592a3790d8
|
@ -93,7 +93,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
//
|
//
|
||||||
#pragma warning ( disable : 4206 )
|
#pragma warning ( disable : 4206 )
|
||||||
|
|
||||||
#if _MSC_VER == 1800
|
#if _MSC_VER == 1800 || _MSC_VER == 1900
|
||||||
|
|
||||||
//
|
//
|
||||||
// Disable these warnings for VS2013.
|
// Disable these warnings for VS2013.
|
||||||
|
@ -101,13 +101,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
//
|
//
|
||||||
// This warning is for potentially uninitialized local variable, and it may cause false
|
// This warning is for potentially uninitialized local variable, and it may cause false
|
||||||
// positive issues in VS2013 build
|
// positive issues in VS2013 and VS2015 build
|
||||||
//
|
//
|
||||||
#pragma warning ( disable : 4701 )
|
#pragma warning ( disable : 4701 )
|
||||||
|
|
||||||
//
|
//
|
||||||
// This warning is for potentially uninitialized local pointer variable, and it may cause
|
// This warning is for potentially uninitialized local pointer variable, and it may cause
|
||||||
// false positive issues in VS2013 build
|
// false positive issues in VS2013 and VS2015 build
|
||||||
//
|
//
|
||||||
#pragma warning ( disable : 4703 )
|
#pragma warning ( disable : 4703 )
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
//
|
//
|
||||||
#pragma warning ( disable : 4206 )
|
#pragma warning ( disable : 4206 )
|
||||||
|
|
||||||
#if _MSC_VER == 1800
|
#if _MSC_VER == 1800 || _MSC_VER == 1900
|
||||||
|
|
||||||
//
|
//
|
||||||
// Disable these warnings for VS2013.
|
// Disable these warnings for VS2013.
|
||||||
|
@ -102,13 +102,13 @@
|
||||||
|
|
||||||
//
|
//
|
||||||
// This warning is for potentially uninitialized local variable, and it may cause false
|
// This warning is for potentially uninitialized local variable, and it may cause false
|
||||||
// positive issues in VS2013 build
|
// positive issues in VS2013 and VS2015 build
|
||||||
//
|
//
|
||||||
#pragma warning ( disable : 4701 )
|
#pragma warning ( disable : 4701 )
|
||||||
|
|
||||||
//
|
//
|
||||||
// This warning is for potentially uninitialized local pointer variable, and it may cause
|
// This warning is for potentially uninitialized local pointer variable, and it may cause
|
||||||
// false positive issues in VS2013 build
|
// false positive issues in VS2013 and VS2015 build
|
||||||
//
|
//
|
||||||
#pragma warning ( disable : 4703 )
|
#pragma warning ( disable : 4703 )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue