Revision: 19118
          http://sourceforge.net/p/edk2/code/19118
Author:   vanjeff
Date:     2015-12-04 03:44:11 +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.

(Sync patch r19111 from main trunk.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <[email protected]>
Reviewed-by: Michael Kinney <[email protected]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/19111

Modified Paths:
--------------
    branches/UDK2015/MdePkg/Include/Ia32/ProcessorBind.h
    branches/UDK2015/MdePkg/Include/X64/ProcessorBind.h

Modified: branches/UDK2015/MdePkg/Include/Ia32/ProcessorBind.h
===================================================================
--- branches/UDK2015/MdePkg/Include/Ia32/ProcessorBind.h        2015-12-04 
03:43:12 UTC (rev 19117)
+++ branches/UDK2015/MdePkg/Include/Ia32/ProcessorBind.h        2015-12-04 
03:44:11 UTC (rev 19118)
@@ -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: branches/UDK2015/MdePkg/Include/X64/ProcessorBind.h
===================================================================
--- branches/UDK2015/MdePkg/Include/X64/ProcessorBind.h 2015-12-04 03:43:12 UTC 
(rev 19117)
+++ branches/UDK2015/MdePkg/Include/X64/ProcessorBind.h 2015-12-04 03:44:11 UTC 
(rev 19118)
@@ -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