www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7800] New: Paths with square brackets cause link failure

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

           Summary: Paths with square brackets cause link failure
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optlink
        AssignedTo: nobody puremagic.com
        ReportedBy: ascend4nt gmail.com



A path containing square brackets causes the following error message:
OPTLINK : Error 8: Illegal Filename

This happens if either the linker itself is located under a bracketed path, or
the object file. For example, both of these scenarios cause failure:

D Compiler path:
C:\[Programming]\dmd2

Source path:
C:\[MySrc]\HelloWorld.obj
C:\[MySrc]\HelloWorld.d

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




I've also found this is a problem with the C++ linker, I'm assuming both are
based on the same codeset.

Additionally, folders with '+' in them cause issue, and probably any number of
other symbols (more testing would be needed)

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


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |DUPLICATE



20:13:35 PST ---
*** This issue has been marked as a duplicate of issue 4831 ***

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