Revision: 19111
          http://sourceforge.net/p/edk2/code/19111
Author:   lgao4
Date:     2015-12-04 03:05:28 +0000 (Fri, 04 Dec 2015)
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Michael Kinney <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdePkg/Include/Ia32/ProcessorBind.h
    trunk/edk2/MdePkg/Include/X64/ProcessorBind.h

Modified: trunk/edk2/MdePkg/Include/Ia32/ProcessorBind.h
===================================================================
--- trunk/edk2/MdePkg/Include/Ia32/ProcessorBind.h      2015-12-04 01:10:17 UTC 
(rev 19110)
+++ trunk/edk2/MdePkg/Include/Ia32/ProcessorBind.h      2015-12-04 03:05:28 UTC 
(rev 19111)
@@ -93,7 +93,7 @@
 //
 #pragma warning ( disable : 4206 )
 
-#if _MSC_VER == 1800
+#if _MSC_VER == 1800 || _MSC_VER == 1900
 
 //
 // Disable these warnings for VS2013.
@@ -101,13 +101,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 )
   

Modified: trunk/edk2/MdePkg/Include/X64/ProcessorBind.h
===================================================================
--- trunk/edk2/MdePkg/Include/X64/ProcessorBind.h       2015-12-04 01:10:17 UTC 
(rev 19110)
+++ trunk/edk2/MdePkg/Include/X64/ProcessorBind.h       2015-12-04 03:05:28 UTC 
(rev 19111)
@@ -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 )
   


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to