mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[WDM] Disable some warnings on MSVC
svn path=/branches/header-work/; revision=46361
This commit is contained in:
parent
6f88dd3240
commit
47b1e82248
1 changed files with 6 additions and 0 deletions
|
@ -98,6 +98,12 @@ extern "C" {
|
|||
|
||||
#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)
|
||||
#define ALLOC_PRAGMA 1
|
||||
|
|
Loading…
Reference in a new issue