diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-05 01:43:14 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-05 01:43:14 +0000 |
commit | 22a8f52f8ee52afbe33c5e47ac8389be44944c7c (patch) | |
tree | ff50f1da0ad764912cd17bff06e019128ad1f5f0 | |
parent | ca40209e2caed3cbdd5d124a65789237f3bff95c (diff) | |
download | edk2-22a8f52f8ee52afbe33c5e47ac8389be44944c7c.zip edk2-22a8f52f8ee52afbe33c5e47ac8389be44944c7c.tar.gz edk2-22a8f52f8ee52afbe33c5e47ac8389be44944c7c.tar.bz2 |
Added two #pragma to disable 4505 & 4206 warnings for MSFT compiler. This is for compiling source files with pre-compiled header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1442 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Include/Ia32/ProcessorBind.h | 9 | ||||
-rw-r--r-- | MdePkg/Include/Ipf/ProcessorBind.h | 9 | ||||
-rw-r--r-- | MdePkg/Include/x64/ProcessorBind.h | 9 |
3 files changed, 27 insertions, 0 deletions
diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h index 2ed3a02..e0ddba4 100644 --- a/MdePkg/Include/Ia32/ProcessorBind.h +++ b/MdePkg/Include/Ia32/ProcessorBind.h @@ -57,6 +57,15 @@ //
#pragma warning ( disable : 4127 )
+//
+// This warning is caused by functions defined but not used. For precompiled header only.
+//
+#pragma warning ( disable : 4505 )
+
+//
+// This warning is caused by empty (after preprocessing) souce file. For precompiled header only.
+//
+#pragma warning ( disable : 4206 )
#endif
diff --git a/MdePkg/Include/Ipf/ProcessorBind.h b/MdePkg/Include/Ipf/ProcessorBind.h index 99da96c..86374b2 100644 --- a/MdePkg/Include/Ipf/ProcessorBind.h +++ b/MdePkg/Include/Ipf/ProcessorBind.h @@ -65,6 +65,15 @@ //
#pragma warning ( disable : 4514 )
+//
+// This warning is caused by functions defined but not used. For precompiled header only.
+//
+#pragma warning ( disable : 4505 )
+
+//
+// This warning is caused by empty (after preprocessing) souce file. For precompiled header only.
+//
+#pragma warning ( disable : 4206 )
#endif
diff --git a/MdePkg/Include/x64/ProcessorBind.h b/MdePkg/Include/x64/ProcessorBind.h index c61966e..785d4d9 100644 --- a/MdePkg/Include/x64/ProcessorBind.h +++ b/MdePkg/Include/x64/ProcessorBind.h @@ -57,6 +57,15 @@ //
#pragma warning ( disable : 4127 )
+//
+// This warning is caused by functions defined but not used. For precompiled header only.
+//
+#pragma warning ( disable : 4505 )
+
+//
+// This warning is caused by empty (after preprocessing) souce file. For precompiled header only.
+//
+#pragma warning ( disable : 4206 )
#endif
|