Re: Phix: get_struct_size() returns eventually wrong size
- Posted by petelomax Sep 26, 2023
- 712 views
andreasWagner said...
with 64bit i have to remove the #pragma pack(1) line to make it work.
Good catch, I didn't check/realise commdlg.h actually contains
#if !defined(_WIN64) #include <pshpack1.h> /* Assume byte packing throughout */ #endif
so I've made that pragma only apply under 32-bit. A new version of cffi.e has been pushed.