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@79

```
C:\Users\SoftDev>dmd
DMD64 D Compiler v2.106.0-dirty
```
      • Re: Imp... Lance Bachmeier via Digitalmars-d-learn
        • Re:... DLearner via Digitalmars-d-learn
          • ... ryuukk_ via Digitalmars-d-learn
            • ... DLearner via Digitalmars-d-learn
              • ... Lance Bachmeier via Digitalmars-d-learn
              • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
              • ... Lance Bachmeier via Digitalmars-d-learn
              • ... Dennis via Digitalmars-d-learn
      • Re: Imp... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
  • Re: ImportC ques... Salih Dincer via Digitalmars-d-learn
    • Re: ImportC... DLearner via Digitalmars-d-learn
      • Re: Imp... ryuukk_ via Digitalmars-d-learn
        • Re:... DLearner via Digitalmars-d-learn
          • ... ryuukk_ via Digitalmars-d-learn
      • Re: Imp... Salih Dincer via Digitalmars-d-learn

Reply via email to