Suppress warning 4200 (alternative method)

This commit is contained in:
ergo720 2019-10-10 19:22:44 +02:00 committed by RadWolfie
parent 446b7efc29
commit 11c046e0aa
1 changed files with 1 additions and 3 deletions

View File

@ -84,16 +84,14 @@ typedef enum _MemoryRegionType
COUNTRegion,
}MemoryRegionType;
#pragma warning(push)
#pragma warning(disable: 4200)
/* struct used to save the persistent memory between reboots */
typedef struct _PersistedMemory
{
size_t NumOfPtes;
VAddr LaunchFrameAddresses[2];
#pragma warning(suppress: 4200)
uint32_t Data[];
}PersistedMemory;
#pragma warning(pop)
/* VMManager class */