Add ImportC compiler to dmd
Mike Parker
aldacron at gmail.com
Tue May 11 12:51:07 UTC 2021
On Tuesday, 11 May 2021 at 12:48:59 UTC, Mike Parker wrote:
> On Tuesday, 11 May 2021 at 12:09:21 UTC, Dibyendu Majumdar
> wrote:
>
>>
>> I assume that this will be added as an in-built feature - i.e.
>> not require invoking via another process?
>
>> The C code must be run through a preprocessor before it can be
>> processed by ImportC. Incorporating this into your build
>> system is advisable.
>
> https://github.com/WalterBright/dmd/blob/ImportC/changelog/ImportC.md#variance-from-iso-c11
Also:
> Some means of incorporating this may be practical. For now, use
> cpp, warp or spp.
https://github.com/WalterBright/dmd/blob/ImportC/changelog/ImportC.md#c-preprocessor
More information about the Digitalmars-d
mailing list