ImportC question

DLearner bmqazwsx123 at gmail.com
Tue Oct 29 20:26:58 UTC 2024


On Tuesday, 29 October 2024 at 18:57:15 UTC, Salih Dincer wrote:
> On Monday, 28 October 2024 at 20:56:03 UTC, DLearner wrote:
>> Just trying ImportC under Windows 10:
>> ```c
>> #include <stdio.h>
>>
>> int main()
>> {
>>    printf("Hello world.\n");
>>    return 0;
>> }
>> ```
>>
>> Produces
>> ```
>> dmd hello.c
>> failed launching cl.exe /P /Zc:preprocessor /PD /nologo 
>> hello.c 
>> /FIC:\D\dmd2\windows\bin64\..\..\src\druntime\import\importc.h 
>> /Fihello.i
>> Error: C preprocess command cl.exe failed for file hello.c, 
>> exit status 1
>> ```
>
> DMD Compiler version?
>
> SDB at 79

```
C:\Users\SoftDev>dmd
DMD64 D Compiler v2.106.0-dirty
```


More information about the Digitalmars-d-learn mailing list