On Wednesday, 18 January 2023 at 16:37:17 UTC, Ali Çehreli wrote:
On 1/18/23 08:04, DLearner wrote:
> Unfortunately, neither works:
> ```
> C:\Users\SoftDev>cl.exe
> 'cl.exe' is not recognized as an internal or external command,
> operable program or batch file.
That supports the theory that you don't have a C compiler
installed that dmd can use for preprocessing C files.
Ali
The [documentation](https://dlang.org/spec/importc.html#auto-cpp)
says
When compiling for Windows with the -m32mscoff or the -m64
switch, cl.exe /P /Zc:preprocessor will be used as the
preprocessor.
It might be useful for someone to add more information. I would
certainly have no idea what that means if I tried to use Windows.