ERROR: "Windows headers require the default packing option" when building/debugging
Hey guys!
I've been working on an AE plugin, and I had a really strange problem today. I've never had a problem building/debugging the plugin, but today when I tried to debug in Visual Studio I got this error message:
-----
Severity Code Description Project File Line Suppression State
Error (active) E1574 static assertion failed with "Windows headers require the default packing option. Changing this can lead to memory corruption. This diagnostic can be disabled by building with WINDOWS_IGNORE_PACKING_MISMATCH defined." Skeleton C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\winnt.h 2482
-----
After some googling, I found this stack overflow post and tried following their advice but it didn't help. I also tried defining "WINDOWS_IGNORE_PACKING_MISMATCH" in C/C++ > Preprocessor > Preprocessor Definitions but that didn't do anything either.
Does anyone know why this would've randomly started happening? Did I perhaps adjust a setting in my IDE without realizing it...? Any and all ideas would be greatly appreciated.
Thanks!
