windows-nt/Source/XPSP1/NT/base/ntos/verifier/vfpragma.h
2020-09-26 16:20:57 +08:00

37 lines
885 B
C

/*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
vfpragma.h
Abstract:
This header contains disable instructions for W4 warnings generated
by public headers. This way we can still compile modules at W4.
Author:
Silviu Calinoiu - Nov 14, 2000
Revision History:
--*/
//
// Disable W4 level warnings generated by public headers.
//
#pragma warning(disable:4214) // bit field types other than int
#pragma warning(disable:4201) // nameless struct/union
#pragma warning(disable:4324) // alignment sensitive to declspec
#pragma warning(disable:4127) // condition expression is constant
#pragma warning(disable:4115) // named type definition in parentheses
#pragma warning(disable:4232) // dllimport not static
#pragma warning(disable:4206) // translation unit empty
#pragma warning(disable:4054) // function pointer to data pointer cast