mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
Fix Bugzilla issue 24111 - [ImportC] fatal error C1034: stdio.h: no include path set (#16248)
* Fix Bugzilla issue 24111 - [ImportC] fatal error C1034: stdio.h: no include path set
This commit is contained in:
parent
2e2c799be6
commit
0186032fa9
3 changed files with 67 additions and 0 deletions
1
compiler/test/dshell/extra-files/issue24111.c
Normal file
1
compiler/test/dshell/extra-files/issue24111.c
Normal file
|
@ -0,0 +1 @@
|
|||
#include <stdio.h>
|
15
compiler/test/dshell/issue24111.d
Normal file
15
compiler/test/dshell/issue24111.d
Normal file
|
@ -0,0 +1,15 @@
|
|||
import dshell;
|
||||
|
||||
int main()
|
||||
{
|
||||
version (Windows)
|
||||
{
|
||||
auto cmd = "$DMD -m$MODEL -c $EXTRA_FILES" ~ SEP ~ "issue24111.c";
|
||||
run(cmd);
|
||||
|
||||
import std.process: environment;
|
||||
environment.remove("INCLUDE");
|
||||
run(cmd);
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue