]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Disable VS2015 warning C4701 & C4703
authorLiming Gao <liming.gao@intel.com>
Fri, 4 Dec 2015 03:05:28 +0000 (03:05 +0000)
committerlgao4 <lgao4@Edk2>
Fri, 4 Dec 2015 03:05:28 +0000 (03:05 +0000)
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

MdePkg/Include/Ia32/ProcessorBind.h
MdePkg/Include/X64/ProcessorBind.h

index 22f07ca6375e01c5db2bb4a5dbe65e689c1fe368..458f7dd21b93cd35ebb77a373b2c3b657eb624e9 100644 (file)
@@ -93,7 +93,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 #pragma warning ( disable : 4206 )\r
 \r
-#if _MSC_VER == 1800\r
+#if _MSC_VER == 1800 || _MSC_VER == 1900\r
 \r
 //\r
 // Disable these warnings for VS2013.\r
@@ -101,13 +101,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 //\r
 // This warning is for potentially uninitialized local variable, and it may cause false \r
-// positive issues in VS2013 build\r
+// positive issues in VS2013 and VS2015 build\r
 //\r
 #pragma warning ( disable : 4701 )\r
   \r
 //\r
 // This warning is for potentially uninitialized local pointer variable, and it may cause \r
-// false positive issues in VS2013 build\r
+// false positive issues in VS2013 and VS2015 build\r
 //\r
 #pragma warning ( disable : 4703 )\r
   \r
index 81dbe188ca4983cd3fd49f0f3bf4226fade5b190..705104af062a9e3506645c8d1f8324cceb64f60e 100644 (file)
@@ -94,7 +94,7 @@
 //\r
 #pragma warning ( disable : 4206 )\r
 \r
-#if _MSC_VER == 1800\r
+#if _MSC_VER == 1800 || _MSC_VER == 1900\r
 \r
 //\r
 // Disable these warnings for VS2013.\r
 \r
 //\r
 // This warning is for potentially uninitialized local variable, and it may cause false \r
-// positive issues in VS2013 build\r
+// positive issues in VS2013 and VS2015 build\r
 //\r
 #pragma warning ( disable : 4701 )\r
   \r
 //\r
 // This warning is for potentially uninitialized local pointer variable, and it may cause \r
-// false positive issues in VS2013 build\r
+// false positive issues in VS2013 and VS2015 build\r
 //\r
 #pragma warning ( disable : 4703 )\r
   \r