Author: tkreuzer
Date: Tue Mar 23 19:34:15 2010
New Revision: 46361
URL:
http://svn.reactos.org/svn/reactos?rev=46361&view=rev
Log:
[WDM] Disable some warnings on MSVC
Modified:
branches/header-work/include/xdk/wdm.template.h
Modified: branches/header-work/include/xdk/wdm.template.h
URL:
http://svn.reactos.org/svn/reactos/branches/header-work/include/xdk/wdm.tem…
==============================================================================
--- branches/header-work/include/xdk/wdm.template.h [iso-8859-1] (original)
+++ branches/header-work/include/xdk/wdm.template.h [iso-8859-1] Tue Mar 23 19:34:15 2010
@@ -97,6 +97,12 @@
#endif
#if defined(_MSC_VER)
+
+/* Disable some warnings */
+#pragma warning(disable:4115) /* Named type definition in parentheses */
+#pragma warning(disable:4201) /* Nameless unions and structs */
+#pragma warning(disable:4214) /* Bit fields of other types than int */
+#pragma warning(disable:4820) /* Padding added, due to alignemnet requirement */
/* Indicate if #pragma alloc_text() is supported */
#if defined(_M_IX86) || defined(_M_AMD64) || defined(_M_IA64)