mirror of
https://github.com/VirusTotal/yara.git
synced 2026-10-12 02:10:00 +00:00
Disable warning due to zero length array in Microsoft's compiler
This commit is contained in:
@@ -140,12 +140,23 @@ struct RE_AST
|
||||
};
|
||||
|
||||
|
||||
// Disable warning due to zero length array in Microsoft's compiler
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4200)
|
||||
#endif
|
||||
|
||||
struct RE
|
||||
{
|
||||
uint32_t flags;
|
||||
uint8_t code[0];
|
||||
};
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
|
||||
struct RE_ERROR
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user