ImportC question
Salih Dincer
salihdb at hotmail.com
Tue Oct 29 18:57:15 UTC 2024
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
More information about the Digitalmars-d-learn
mailing list