On Wed Aug 23 17:07:23 2023 +0000, Zebediah Figura wrote:
Oh, I see, WINAPI doesn't actually include force_align_arg_pointer anymore, not after 62173699. We should probably revert that...
It was added because of calling into unix side back when there was no separation between it and PE via "syscalls". It makes no sense to add it back, especially because you can compile PE modules with a preferred stack boundary of 2 (4 bytes as on Windows) and then force_align_arg_pointer won't do anything.
What's this compiler bug about? Did you try annotate the variable declaration with DECLSPEC_ALIGN(16), not just the struct type?