Bug 18476 – -run should not only take the next argument

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-02-20T18:30:15Z
Last change time
2024-12-13T18:57:10Z
Assigned to
No Owner
Creator
Seb
Moved to GitHub: dmd#19391 →

Comments

Comment #0 by greensunny12 — 2018-02-20T18:30:15Z
echo "void main(){}" | dmd -run -c - and fails with --- Error: module -c is in file '-c.d' which cannot be read import path[0] = /usr/include/dlang/dmd --- I have seen people at my Meetup struggling with this and I was initially also puzzled. One really needs to know the implementation of mars.d to understand this.
Comment #1 by greensunny12 — 2018-03-29T03:02:19Z
Comment #2 by robert.schadek — 2024-12-13T18:57:10Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19391 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB