How to fix the mismatch struct size
test123
test123 at gmail.com
Mon May 16 12:51:01 UTC 2022
On Monday, 16 May 2022 at 07:29:39 UTC, Arjan wrote:
> On Monday, 16 May 2022 at 05:57:33 UTC, test123 wrote:
> Without fully scrutinizing your code I suspect the issues you
> see are caused by:
> - alignment
I know it is cause by alignment. my problem how to deal with diff
alignment with diff platform. special when there is multi level
nested struct.
> - struct context pointer
There is no struct context pointer since I translate all nested
struct and union into static.
struct work for linux with clang, but not for windows.
More information about the Digitalmars-d
mailing list