www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9829] New: rdmd passes '--' to dmd

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9829

           Summary: rdmd passes '--' to dmd
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: code dawg.eu


--- Comment #0 from Martin Nowak <code dawg.eu> 2013-03-29 09:02:09 PDT ---
./rdmd bug.d

Error: unrecognized switch '--'
Failed: 'dmd' '--' '-v' '-o-' 'bug.d' '-I.'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 29 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9829



--- Comment #1 from Martin Nowak <code dawg.eu> 2013-03-29 09:14:03 PDT ---
Ah, I see this is related to bug 9583 and bug 9622.
So this only happens when using the unfixed getopt from 2.062.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 29 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9829



--- Comment #2 from github-bugzilla puremagic.com 2013-04-04 01:39:50 PDT ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 04 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9829


Alex Rønne Petersen <alex lycus.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alex lycus.org
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 04 2013