ImportC and #pragma pack

Walter Bright newshound2 at digitalmars.com
Wed Sep 29 03:23:39 UTC 2021


On 9/28/2021 5:11 PM, Guillaume Piolat wrote:
> This won't be the case in an ImportC future, your build will depend on pointing 
> on the right libc include paths (unless there is a similar syncretic header set 
> that works with common libc), and I just hope the compiler will do it 
> automatically :)

I'm afraid that in order for D to save you, you have to write the code in D, not C!



More information about the Digitalmars-d mailing list