ImportC question

DLearner bmqazwsx123 at gmail.com
Mon Oct 28 20:56:03 UTC 2024


Just trying ImportC under Windows 10:
```
#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
```

Any ideas?

Best regards


More information about the Digitalmars-d-learn mailing list