Thread overview
[Issue 7800] New: Paths with square brackets cause link failure
Mar 30, 2012
Ascend4nt
Mar 30, 2012
Ascend4nt
Feb 10, 2013
Andrej Mitrovic
March 30, 2012
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


--- Comment #0 from Ascend4nt <ascend4nt@gmail.com> 2012-03-30 08:17:42 PDT ---
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: -------
March 30, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7800



--- Comment #1 from Ascend4nt <ascend4nt@gmail.com> 2012-03-30 09:23:58 PDT ---
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: -------
February 10, 2013
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


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-02-09 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: -------