Compiling error Win7, VS19 [1. time attempt]
Posted: 01 Aug 2019 12:20
Hey.
I normally do not work with Visual Studio (19) nor C/C++ for a while. Anyways, I wanted to compile (duh) ottd. I followed the howto (https://github.com/OpenTTD/OpenTTD/blob ... ws_MSVC.md) resolved dependencies etc.etc..
Following error occurs which let the build fail: C2338
2. Can anyone tell me how to resolve that? (I do not even know how I define the WINDOWS_IGNORE_PACKING_MISMATCH?!)
Any help would be great!
Thanks a lot for your work!!
I normally do not work with Visual Studio (19) nor C/C++ for a while. Anyways, I wanted to compile (duh) ottd. I followed the howto (https://github.com/OpenTTD/OpenTTD/blob ... ws_MSVC.md) resolved dependencies etc.etc..
Following error occurs which let the build fail: C2338
1. Does anyone experienced this as well and knows where it comes from?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.
2. Can anyone tell me how to resolve that? (I do not even know how I define the WINDOWS_IGNORE_PACKING_MISMATCH?!)
Any help would be great!
Thanks a lot for your work!!