summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
586d81d)
As they may be raised as false positive in building.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16594
6f19259b-4bc3-4df7-8a09-
765794883524
/** @file\r
Processor or Compiler specific defines and types for IA-32 architecture.\r
\r
/** @file\r
Processor or Compiler specific defines and types for IA-32 architecture.\r
\r
-Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials are licensed and made available under \r
the terms and conditions of the BSD License that accompanies this distribution. \r
The full text of the license may be found at\r
This program and the accompanying materials are licensed and made available under \r
the terms and conditions of the BSD License that accompanies this distribution. \r
The full text of the license may be found at\r
//\r
#pragma warning ( disable : 4206 )\r
\r
//\r
#pragma warning ( disable : 4206 )\r
\r
+#if _MSC_VER == 1800\r
+\r
+//\r
+// Disable these warnings for VS2013.\r
+//\r
+\r
+//\r
+// This warning is for potentially uninitialized local variable, and it may cause false \r
+// positive issues in VS2013 build\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
+//\r
+#pragma warning ( disable : 4703 )\r
+ \r
+#endif\r
+\r
/** @file\r
Processor or Compiler specific defines and types x64 (Intel 64, AMD64).\r
\r
/** @file\r
Processor or Compiler specific defines and types x64 (Intel 64, AMD64).\r
\r
- Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
//\r
#pragma warning ( disable : 4206 )\r
\r
//\r
#pragma warning ( disable : 4206 )\r
\r
+#if _MSC_VER == 1800\r
+\r
+//\r
+// Disable these warnings for VS2013.\r
+//\r
+\r
+//\r
+// This warning is for potentially uninitialized local variable, and it may cause false \r
+// positive issues in VS2013 build\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
+//\r
+#pragma warning ( disable : 4703 )\r
+ \r
+#endif\r
+\r