[Issue 6543] New: RDMD -I character limitation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 21 09:29:30 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6543

           Summary: RDMD -I character limitation
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: pastas4 at gmail.com


--- Comment #0 from GreatEmerald <pastas4 at gmail.com> 2011-08-21 09:29:27 PDT ---
This might be an isolated case, but it might also be an indication of deeper
issues. If I try to include LuaD using RDMD, and the path I enter into the -I
argument is longer than around 25 characters, RDMD fails with an error "Error:
cannot read file dmd.d". For example:

---------
#These work correctly:
rdmd -ILuaD -L-llua --build-only -ofLuaTest LuaTest.d
rdmd -I../LuaD -L-llua --build-only -ofLuaTest LuaTest.d
rdmd -I~/LuaD -L-llua --build-only -ofLuaTest LuaTest.d
rdmd -I../../Documents/D/LuaD -L-llua --build-only -ofLuaTest LuaTest.d
rdmd -Iinclude/LuaD -L-llua --build-only -ofLuaTest LuaTest.d

#These throw an error:
rdmd -I../../../Documents/D/LuaD -L-llua --build-only -ofLuaTest LuaTest.d
rdmd -Iprojecttest/include/LuaD -L-llua --build-only -ofLuaTest LuaTest.d
rdmd -I~/Documents/D/LuaD -L-llua --build-only -ofLuaTest LuaTest.d
---------

Like I said, this only happens with LuaD for some reason. Perhaps because of
the amount of files it has.

I'm using RDMD build 20110706, DMD v2.054, openSUSE 11.4 x86_64.

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


More information about the Digitalmars-d-bugs mailing list