[Issue 22622] C file before D file on the command line causes build errors from core.stdc.stdio

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 23 01:24:04 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22622

--- Comment #1 from duser at airmail.cc ---
importing a C module before core.stdc.stdio also triggers the bug:

---
% echo '// empty' >empty.c
% echo 'import empty; import core.stdc.stdio; void main(){}' >main.d
% dmd main.d
---

if the import order is swapped, the error disappears

--


More information about the Digitalmars-d-bugs mailing list