Liming, I have verified that builds with VS2015 complete with this update.
Reviewed-by: Michael Kinney <michael.d.kin...@intel.com> Thanks, Mike > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Liming > Gao > Sent: Wednesday, December 2, 2015 9:27 PM > To: edk2-devel@lists.01.org > Subject: [edk2] [Patch 1/6] 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 <liming....@intel.com> > --- > MdePkg/Include/Ia32/ProcessorBind.h | 6 +++--- > MdePkg/Include/X64/ProcessorBind.h | 6 +++--- > 2 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/MdePkg/Include/Ia32/ProcessorBind.h > b/MdePkg/Include/Ia32/ProcessorBind.h > index 22f07ca..458f7dd 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 81dbe18..705104a 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 ) > > -- > 1.9.5.msysgit.0 > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel