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
//\r
#pragma warning ( disable : 4206 )\r
\r
//\r
#pragma warning ( disable : 4206 )\r
\r
+#if _MSC_VER == 1800 || _MSC_VER == 1900\r
\r
//\r
// Disable these warnings for VS2013.\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
\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
//\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
//\r
#pragma warning ( disable : 4703 )\r
\r
//\r
#pragma warning ( disable : 4206 )\r
\r
//\r
#pragma warning ( disable : 4206 )\r
\r
+#if _MSC_VER == 1800 || _MSC_VER == 1900\r
\r
//\r
// Disable these warnings for VS2013.\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
\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
//\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
//\r
#pragma warning ( disable : 4703 )\r
\r