33 lines
1.0 KiB
C
33 lines
1.0 KiB
C
/*++
|
|
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt).
|
|
If you do not agree to the terms, do not use the code.
|
|
|
|
|
|
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.
|
|
|
|
--*/
|
|
|
|
//
|
|
// 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
|
|
|