Cannot compile C file using ImportC

Steven Schveighoffer schveiguy at gmail.com
Tue Nov 9 21:03:20 UTC 2021


On 11/9/21 3:05 PM, Stefan Koch wrote:

> 
> Yes it is valid C.
> It is not valid D though.
> 

The file is named `tomld.c`

The way importC works is, you pass a .c file to the compiler, and it 
treats it as C.

-Steve


More information about the Digitalmars-d-learn mailing list