summaryrefslogtreecommitdiff
path: root/MdePkg/Include
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2015-12-04 03:44:11 +0000
committervanjeff <vanjeff@Edk2>2015-12-04 03:44:11 +0000
commitea6947cdfb224d2544cb962f301c4ef0b66b5eb0 (patch)
tree58ab3a54a3714b7fb62ae381fe5ae7501d7466ab /MdePkg/Include
parent22ad647ffebbd26766a806007ad8eb2a35e3db09 (diff)
downloadedk2-platforms-ea6947cdfb224d2544cb962f301c4ef0b66b5eb0.tar.xz
MdePkg: Disable VS2015 warning C4701 & C4703
C4701 & C4703 may cause false positive issues. They have been disabled in VS2013. (Sync patch r19111 from main trunk.) 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/branches/UDK2015@19118 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/Ia32/ProcessorBind.h6
-rw-r--r--MdePkg/Include/X64/ProcessorBind.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h
index 22f07ca637..458f7dd21b 100644
--- a/MdePkg/Include/Ia32/ProcessorBind.h
+++ b/MdePkg/Include/Ia32/ProcessorBind.h
@@ -93,7 +93,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
#pragma warning ( disable : 4206 )
-#if _MSC_VER == 1800
+#if _MSC_VER == 1800 || _MSC_VER == 1900
//
// 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
-// positive issues in VS2013 build
+// positive issues in VS2013 and VS2015 build
//
#pragma warning ( disable : 4701 )
//
// 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 )
diff --git a/MdePkg/Include/X64/ProcessorBind.h b/MdePkg/Include/X64/ProcessorBind.h
index 81dbe188ca..705104af06 100644
--- a/MdePkg/Include/X64/ProcessorBind.h
+++ b/MdePkg/Include/X64/ProcessorBind.h
@@ -94,7 +94,7 @@
//
#pragma warning ( disable : 4206 )
-#if _MSC_VER == 1800
+#if _MSC_VER == 1800 || _MSC_VER == 1900
//
// Disable these warnings for VS2013.
@@ -102,13 +102,13 @@
//
// 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 )
//
// 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 )