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=)
(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
Where? I'm seeing: -odsomefile but not -od=somefile, eg: ``` res = execute([rdmdApp, compilerSwitch, "--build-only", "--force", "-lib", "-od" ~ libDir, srcName]); ```
Oh, I see what you mean now. The problem is with the equal sign.
ideally, there would be some code sharing with dmd to avoid dmd's flag becoming out of sync with rdmd's flag.
Ideally, rdmd would be moved into dmd and left as a compatibility wrapper. That would make it much faster, too.
is there any update on this? it's too bad dmd and rdmd are not in sync
Fixed by https://github.com/dlang/tools/pull/341