Created attachment 1917
The c file I used to compile
dmd cannot compile the attached hello.c file with ImportC
System Windows 10 x64 19045.4894
Output of command
```
c:\work\swig_experiment>dmd -v example.c
predefs DigitalMars LittleEndian D_Version2 all D_SIMD Windows Win64 CRuntime_Microsoft CppRuntime_Microsoft D_InlineAsm_X86_64 X86_64 D_LP64 assert D_PreConditions D_PostConditions D_Invariants D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat
binary dmd
version v2.109.1
config c:\winoss\dmd2\windows\bin64\sc.ini
DFLAGS -Ic:\winoss\dmd2\windows\bin64\..\..\src\phobos -Ic:\winoss\dmd2\windows\bin64\..\..\src\druntime\import
include c:\winoss\dmd2\windows\bin64\..\..\src\druntime\import\importc.h
cl.exe /P /Zc:preprocessor /PD /nologo /utf-8 example.c /FIc:\winoss\dmd2\windows\bin64\..\..\src\druntime\import\importc.h /FiC:\Users\VASILI~1\AppData\Local\Temp\scuo.0
```
PATH:
```
C:\Windows;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\winoss\VSCodium\bin;C:\Program Files\RedHat\Podman\;c:\winoss\git\cmd;C:\winoss\Python312\Scripts\;C:\winoss\Python312\;C:\Users\VasilisAnagnostopoul\AppData\Local\Programs\Python\Launcher\;C:\Users\VasilisAnagnostopoul\AppData\Local\Microsoft\WindowsApps;C:\Users\VasilisAnagnostopoul\AppData\Local\Coursier\data\bin;C:\Users\VasilisAnagnostopoul\AppData\Local\Programs\Rancher Desktop\resources\resources\linux\bin\;C:\Users\VasilisAnagnostopoul\AppData\Local\Programs\Rancher Desktop\resources\resources\win32\bin\;C:\winoss\jdk-23\bin;C:\winoss\apache-maven-3.9.8\bin;C:\Users\VasilisAnagnostopoul\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\VasilisAnagnostopoul\AppData\Local\Apps\Janet\bin\;;"c:\winoss\clang+llvm-18.1.8-x86_64-pc-windows-msvc\bin";c:\winoss\dmd2\windows\bin64
```
Is there any possibility it has to do with Corporate Antivirus?
I use Sophos
Comment #1 by alphaglosined — 2024-09-26T17:26:58Z
What does the command to cl produce?
```
cl.exe /P /Zc:preprocessor /PD /nologo /utf-8 example.c /FIc:\winoss\dmd2\windows\bin64\..\..\src\druntime\import\importc.h /FiC:\Users\VASILI~1\AppData\Local\Temp\scuo.0
```
Comment #2 by robert.schadek — 2024-12-13T19:37:39Z