Bug 9829 – rdmd passes '--' to dmd

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-03-29T09:02:00Z
Last change time
2013-04-04T01:39:56Z
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2013-03-29T09:02:09Z
./rdmd bug.d Error: unrecognized switch '--' Failed: 'dmd' '--' '-v' '-o-' 'bug.d' '-I.'
Comment #1 by code — 2013-03-29T09:14:03Z
Ah, I see this is related to bug 9583 and bug 9622. So this only happens when using the unfixed getopt from 2.062.
Comment #2 by github-bugzilla — 2013-04-04T01:39:50Z
Commits pushed to master at https://github.com/D-Programming-Language/tools https://github.com/D-Programming-Language/tools/commit/e1c792bf17ef65efdb171f4658817dfe65dc7271 fix Issue 9829 - getting program and arguments before calling getopt on the shortended args avoids the need for the '--' getopt separator in the first place https://github.com/D-Programming-Language/tools/commit/e34bb76a96269c54e0748df568183e30ca470674 Merge pull request #54 from dawgfoto/fix9829 fix Issue 9829