From: Stefan Ginsberg Date: Fri, 11 Sep 2015 18:02:58 +0000 (+0000) Subject: - Fix a thousand warnings X-Git-Tag: ReactOS-0.4.0~862 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=e9950e5ef7affad62b9a75a1b16b70a8ea2b7335;hp=8ce92839868c57923e9266a5c169d1254ab4d91d - Fix a thousand warnings svn path=/trunk/; revision=69185 --- diff --git a/reactos/include/ndk/extypes.h b/reactos/include/ndk/extypes.h index 618580e2347..0833f32f78b 100644 --- a/reactos/include/ndk/extypes.h +++ b/reactos/include/ndk/extypes.h @@ -470,6 +470,16 @@ typedef struct _EX_PUSH_LOCK // // Executive Pushlock Wait Block // + +// +// The wait block has to be properly aligned +// on a non-checked build even if the debug data isn't there. +// +#if defined(_MSC_VER) +#pragma warning(push) +#pragma warning(disable:4324) +#endif + typedef __ALIGNED(16) struct _EX_PUSH_LOCK_WAIT_BLOCK { union @@ -490,6 +500,10 @@ typedef __ALIGNED(16) struct _EX_PUSH_LOCK_WAIT_BLOCK #endif } EX_PUSH_LOCK_WAIT_BLOCK, *PEX_PUSH_LOCK_WAIT_BLOCK; +#if defined(_MSC_VER) +#pragma warning(pop) +#endif + // // Callback Object //