mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:55:39 +00:00
[PSDK]
* Silence some warnings about nonstandard extensions used (zero-sized array in struct/union and nameless struct/union). svn path=/trunk/; revision=59568
This commit is contained in:
parent
e13e09df90
commit
9686d19642
2 changed files with 17 additions and 0 deletions
|
@ -617,6 +617,11 @@ typedef struct _STORAGE_PRIORITY_HINT_SUPPORT {
|
||||||
ULONG SupportFlags;
|
ULONG SupportFlags;
|
||||||
} STORAGE_PRIORITY_HINT_SUPPORT, *PSTORAGE_PRIORITY_HINT_SUPPORT;
|
} STORAGE_PRIORITY_HINT_SUPPORT, *PSTORAGE_PRIORITY_HINT_SUPPORT;
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:4200)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(_MSC_EXTENSIONS)
|
#if defined(_MSC_EXTENSIONS)
|
||||||
|
|
||||||
typedef struct _STORAGE_MEDIA_SERIAL_NUMBER_DATA {
|
typedef struct _STORAGE_MEDIA_SERIAL_NUMBER_DATA {
|
||||||
|
@ -646,6 +651,10 @@ typedef struct _PERSISTENT_RESERVE_COMMAND {
|
||||||
|
|
||||||
#endif /* defined(_MSC_EXTENSIONS) */
|
#endif /* defined(_MSC_EXTENSIONS) */
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(pop) /* disable:4200 */
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef _Struct_size_bytes_(Size) struct _STORAGE_READ_CAPACITY {
|
typedef _Struct_size_bytes_(Size) struct _STORAGE_READ_CAPACITY {
|
||||||
ULONG Version;
|
ULONG Version;
|
||||||
ULONG Size;
|
ULONG Size;
|
||||||
|
|
|
@ -444,6 +444,10 @@ typedef enum {
|
||||||
DEFAULT_COMPARTMENT_ID
|
DEFAULT_COMPARTMENT_ID
|
||||||
} COMPARTMENT_ID, *PCOMPARTMENT_ID;
|
} COMPARTMENT_ID, *PCOMPARTMENT_ID;
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:4201)
|
||||||
|
#endif
|
||||||
/* Used to store a non-float 8 byte aligned structure */
|
/* Used to store a non-float 8 byte aligned structure */
|
||||||
typedef struct _QUAD
|
typedef struct _QUAD
|
||||||
{
|
{
|
||||||
|
@ -491,6 +495,10 @@ typedef union _ULARGE_INTEGER {
|
||||||
ULONGLONG QuadPart;
|
ULONGLONG QuadPart;
|
||||||
} ULARGE_INTEGER, *PULARGE_INTEGER;
|
} ULARGE_INTEGER, *PULARGE_INTEGER;
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(pop) /* disable:4201 */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Physical Addresses are always treated as 64-bit wide */
|
/* Physical Addresses are always treated as 64-bit wide */
|
||||||
typedef LARGE_INTEGER PHYSICAL_ADDRESS, *PPHYSICAL_ADDRESS;
|
typedef LARGE_INTEGER PHYSICAL_ADDRESS, *PPHYSICAL_ADDRESS;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue