[Issue 24594] ImportC: Packed struct has wrong layout

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 22 12:48:14 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24594

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #16611 "Fix bugzilla 24594 - ImportC: Packed struct has
wrong layout" was merged into master:

- d02e12b8ddcf66d435265d443af34f8d3f25faaf by Tim Schendekehl:
  Fix bugzilla 24594 - ImportC: Packed struct has wrong layout

  Packed structs were already implemented with the Microsoft syntax
  (e.g. `#pragma pack(push, 1)`), but the GCC syntax was ignored.

https://github.com/dlang/dmd/pull/16611

--


More information about the Digitalmars-d-bugs mailing list