Bug 17064 – rdmd -of= broken (cf doesn't understand new dmd -of= syntax)

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
tools
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2017-01-07T04:33:28Z
Last change time
2021-01-09T22:03:48Z
Assigned to
No Owner
Creator
Timothee Cour

Comments

Comment #0 by timothee.cour2 — 2017-01-07T04:33:28Z
was mentioned in https://issues.dlang.org/show_bug.cgi?id=16962 but that bug was crowded with other issues, and this particular issue is still not fixed: from that bug: rdmd doesn't seem to understand the new '=' syntax in '-of=' '-od=' even though dmd does (DMD64 D Compiler v2.072.1) Also there should be some tests (https://github.com/dlang/tools/commit/bfbcd086bad634066ba142964823f1689e879aaf doesn't mention anything about of=/od=)
Comment #1 by dlang-bugzilla — 2017-01-07T04:35:50Z
(In reply to Timothee Cour from comment #0) > Also there should be some tests > (https://github.com/dlang/tools/commit/ > bfbcd086bad634066ba142964823f1689e879aaf doesn't mention anything about > of=/od=) Look again. + // Test with -od ... + // Test with -of
Comment #2 by timothee.cour2 — 2017-01-07T04:55:51Z
Where? I'm seeing: -odsomefile but not -od=somefile, eg: ``` res = execute([rdmdApp, compilerSwitch, "--build-only", "--force", "-lib", "-od" ~ libDir, srcName]); ```
Comment #3 by dlang-bugzilla — 2017-01-07T04:57:40Z
Oh, I see what you mean now. The problem is with the equal sign.
Comment #4 by timothee.cour2 — 2017-01-07T05:00:09Z
ideally, there would be some code sharing with dmd to avoid dmd's flag becoming out of sync with rdmd's flag.
Comment #5 by dlang-bugzilla — 2017-01-07T05:01:18Z
Ideally, rdmd would be moved into dmd and left as a compatibility wrapper. That would make it much faster, too.
Comment #6 by timothee.cour2 — 2017-09-04T18:31:14Z
is there any update on this? it's too bad dmd and rdmd are not in sync
Comment #7 by pro.mathias.lang — 2021-01-09T22:03:48Z