ImportC and #pragma pack

Guillaume Piolat first.last at gmail.com
Thu Sep 30 11:54:21 UTC 2021


On Thursday, 30 September 2021 at 09:05:50 UTC, Paulo Pinto wrote:
>
> Windows, Linux/Android and macOS headers are full of C 
> extensions, so I would say for ImportC to be of value for 
> systems programming on those platforms, it needs to at very 
> least be able to understand those extensions.

I'm looking at the VC headers coming with Visual Studio, and it 
seems you can go a long way with:
#pragma once
#pragma push_macro/pop_macro
#pragma pack


More information about the Digitalmars-d mailing list