Author: akhaldi
Date: Wed Jul 24 14:47:11 2013
New Revision: 59568
URL:
http://svn.reactos.org/svn/reactos?rev=59568&view=rev
Log:
[PSDK]
* Silence some warnings about nonstandard extensions used (zero-sized array in
struct/union and nameless struct/union).
Modified:
trunk/reactos/include/psdk/ntddstor.h
trunk/reactos/include/psdk/ntdef.h
Modified: trunk/reactos/include/psdk/ntddstor.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntddstor.h?re…
==============================================================================
--- trunk/reactos/include/psdk/ntddstor.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntddstor.h [iso-8859-1] Wed Jul 24 14:47:11 2013
@@ -617,6 +617,11 @@
ULONG SupportFlags;
} STORAGE_PRIORITY_HINT_SUPPORT, *PSTORAGE_PRIORITY_HINT_SUPPORT;
+#ifdef _MSC_VER
+#pragma warning(push)
+#pragma warning(disable:4200)
+#endif
+
#if defined(_MSC_EXTENSIONS)
typedef struct _STORAGE_MEDIA_SERIAL_NUMBER_DATA {
@@ -646,6 +651,10 @@
#endif /* defined(_MSC_EXTENSIONS) */
+#ifdef _MSC_VER
+#pragma warning(pop) /* disable:4200 */
+#endif
+
typedef _Struct_size_bytes_(Size) struct _STORAGE_READ_CAPACITY {
ULONG Version;
ULONG Size;
Modified: trunk/reactos/include/psdk/ntdef.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntdef.h?rev=5…
==============================================================================
--- trunk/reactos/include/psdk/ntdef.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntdef.h [iso-8859-1] Wed Jul 24 14:47:11 2013
@@ -444,6 +444,10 @@
DEFAULT_COMPARTMENT_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 */
typedef struct _QUAD
{
@@ -490,6 +494,10 @@
#endif /* MIDL_PASS */
ULONGLONG QuadPart;
} ULARGE_INTEGER, *PULARGE_INTEGER;
+
+#ifdef _MSC_VER
+#pragma warning(pop) /* disable:4201 */
+#endif
/* Physical Addresses are always treated as 64-bit wide */
typedef LARGE_INTEGER PHYSICAL_ADDRESS, *PPHYSICAL_ADDRESS;