ImportC can now automatically run the preprocessor
Mike Parker
aldacron at gmail.com
Mon May 16 12:07:04 UTC 2022
On Monday, 16 May 2022 at 11:55:57 UTC, jmh530 wrote:
> On Saturday, 14 May 2022 at 21:05:09 UTC, Walter Bright wrote:
>> As https://github.com/dlang/dmd/pull/14121 has been merged,
>> the following #ImportC program can now be compiled and run:
>>
>> #include <stdio.h>
>>
>> void main()
>> {
>> printf("hello ImportC!\n");
>> }
>>
>> [snip]
>
> Sorry if this is a dumb question, but when you refer to
> something as a "ImportC" program, what precisely do you mean?
> It's a D program that requires importC features to work?
It's just normal C source code compiled with the ImportC compiler.
More information about the Digitalmars-d
mailing list