ImportC and #pragma pack
Imperatorn
johan_forsberg_86 at hotmail.com
Wed Sep 29 17:25:51 UTC 2021
On Tuesday, 28 September 2021 at 06:05:04 UTC, Walter Bright
wrote:
> https://issues.dlang.org/show_bug.cgi?id=22315
>
> I'm on the fence about implementing this. On the one hand, I
> can do it and make it work. On the other hand, the C11 way is
> to use _Alignas, and that's 10 years old now. How far do we go
> with implementing all the nutburger obsolete C extension cruft
> out there?
My vote is for supporting it. That way it will be complete, and I
remember seeing it around networking and serialization contexts
for example. I tried asking in some c/c++ forums and got an
estimate at around 3-5% of stuff use it according to them. Not
much, but also not below 1%.
More information about the Digitalmars-d
mailing list