ImportC and #pragma pack

bachmeier no at spam.net
Tue Sep 28 16:52:19 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?

Is there an alternative that could be suggested? For instance, 
throwing an error message but explaining how to use `_Alignas`? 
If not, I'm not sure what choice there is.


More information about the Digitalmars-d mailing list