www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 45] New: gdmd does not accept rdmd output

http://gdcproject.org/bugzilla/show_bug.cgi?id=45


           Summary: gdmd does not accept rdmd output
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw gdcproject.org
        ReportedBy: m.strashun gmail.com


I have built rdmd with gdc and have tried to build a simple hello world program
with it. Results:

[mist fog devel]$ rdmd --chatty tmp.d 
stat /tmp/.rdmd-1000
stat /tmp/.rdmd-1000/rdmd-tmp.d-77E7597A9EFF6B225DBE8D26FFAE1883
stat /tmp/.rdmd-1000/rdmd-tmp.d-77E7597A9EFF6B225DBE8D26FFAE1883/rdmd.deps
'gdmd' '--' '-v' '-o-' 'tmp.d' '-I.'
gdmd: unrecognized switch '--'
Failed: 'gdmd' '--' '-v' '-o-' 'tmp.d' '-I.'

According to source code, rdmd seems to always prepend "--" before other
parameters:

110     // Insert "--" to tell getopts when to stop
111     args = args[0..programPos] ~ "--" ~ args[programPos .. $];

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
Mar 19 2013