[Issue 18710] New: executable file not generated when -o- is used
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 3 01:51:08 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18710
Issue ID: 18710
Summary: executable file not generated when -o- is used
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: slavo5150 at yahoo.com
Consider:
---main.d
import std.stdio;
void main()
{
writeln("Hello, World!");
}
`dmd main.d` generates a `main.o` object file and a `main` executable.
`dmd -o- main.d` generates nothing
I think `dmd -o- main.d` should generate the `main` executable, but not the
`main.o` object file.
--
More information about the Digitalmars-d-bugs
mailing list