Revision: 16718
http://sourceforge.net/p/edk2/code/16718
Author: vanjeff
Date: 2015-02-03 13:36:24 +0000 (Tue, 03 Feb 2015)
Log Message:
-----------
MdePkg IA32/X64 ProcessorBind.h : Disable the C4701 and C4703 warnings for
VS2013.
As they may be raised as false positive in building.
(Sync patch r16594 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/16594
Modified Paths:
--------------
branches/UDK2014.SP1/MdePkg/Include/Ia32/ProcessorBind.h
branches/UDK2014.SP1/MdePkg/Include/X64/ProcessorBind.h
Modified: branches/UDK2014.SP1/MdePkg/Include/Ia32/ProcessorBind.h
===================================================================
--- branches/UDK2014.SP1/MdePkg/Include/Ia32/ProcessorBind.h 2015-02-03
13:35:35 UTC (rev 16717)
+++ branches/UDK2014.SP1/MdePkg/Include/Ia32/ProcessorBind.h 2015-02-03
13:36:24 UTC (rev 16718)
@@ -1,7 +1,7 @@
/** @file
Processor or Compiler specific defines and types for IA-32 architecture.
-Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under
the terms and conditions of the BSD License that accompanies this
distribution.
The full text of the license may be found at
@@ -93,9 +93,29 @@
//
#pragma warning ( disable : 4206 )
+#if _MSC_VER == 1800
+
+//
+// Disable these warnings for VS2013.
+//
+
+//
+// This warning is for potentially uninitialized local variable, and it may
cause false
+// positive issues in VS2013 build
+//
+#pragma warning ( disable : 4701 )
+
+//
+// This warning is for potentially uninitialized local pointer variable, and
it may cause
+// false positive issues in VS2013 build
+//
+#pragma warning ( disable : 4703 )
+
#endif
+#endif
+
#if defined(_MSC_EXTENSIONS)
//
Modified: branches/UDK2014.SP1/MdePkg/Include/X64/ProcessorBind.h
===================================================================
--- branches/UDK2014.SP1/MdePkg/Include/X64/ProcessorBind.h 2015-02-03
13:35:35 UTC (rev 16717)
+++ branches/UDK2014.SP1/MdePkg/Include/X64/ProcessorBind.h 2015-02-03
13:36:24 UTC (rev 16718)
@@ -1,7 +1,7 @@
/** @file
Processor or Compiler specific defines and types x64 (Intel 64, AMD64).
- Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD
License
which accompanies this distribution. The full text of the license may be
found at
@@ -94,9 +94,29 @@
//
#pragma warning ( disable : 4206 )
+#if _MSC_VER == 1800
+
+//
+// Disable these warnings for VS2013.
+//
+
+//
+// This warning is for potentially uninitialized local variable, and it may
cause false
+// positive issues in VS2013 build
+//
+#pragma warning ( disable : 4701 )
+
+//
+// This warning is for potentially uninitialized local pointer variable, and
it may cause
+// false positive issues in VS2013 build
+//
+#pragma warning ( disable : 4703 )
+
#endif
+#endif
+
#if defined(_MSC_EXTENSIONS)
//
// use Microsoft C complier dependent integer width types
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits