May 25, 2023
https://issues.dlang.org/show_bug.cgi?id=23936

          Issue ID: 23936
           Summary: ImportC: pragma pack is not working for concrete
                    module (libuv)
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: black80@bk.ru

Created attachment 1877
  --> https://issues.dlang.org/attachment.cgi?id=1877&action=edit
precompiled libuv uv9.i & manual created impc.i

issue for latest beta DMD/LDC compilers.
they proceeding #pragma pack()/__pragma(pack()) with unknown issue:

OK: u can change alignment for impc.SomeType. both compilers works fine and prints 16 or anything.

FAILED: u can not change alignment for (as example) uv9.M128A, uv9.CONTEXT. its
always 8.

IMO some problems with many push/pop in module. push should work for empty/filled stack and no deep constraint for it.

PS
I added precompiled and manually changed uv9.i to attachment cuz subj is
working for manually created impc.i but not working for libuv' uv9.i.

--