SPEC-2513 Fixes to enable w4324 (#1197)

* Fix warning 4324

* warning that doesnt trigger anything

* missed warning
This commit is contained in:
Esteban Papp
2021-06-09 11:33:13 -07:00
committed by GitHub
parent 5bdf9e3c6d
commit 68ffdd6714
9 changed files with 31 additions and 18 deletions
+3 -1
View File
@@ -111,7 +111,9 @@ int64 CryGetTicksPerSec();
}
#endif
#define _MS_ALIGN(num) __declspec(align(num))
#define _MS_ALIGN(num) \
AZ_PUSH_DISABLE_WARNING(4324, "-Wunknown-warning-option") \
__declspec(align(num))
#define DEFINE_ALIGNED_DATA(type, name, alignment) _declspec(align(alignment)) type name;
#define DEFINE_ALIGNED_DATA_STATIC(type, name, alignment) static _declspec(align(alignment)) type name;