digitalmars.D.bugs - optlink error: filenames with spaces
- Lionello Lunesu (10/10) Nov 23 2006 C:\Users\llunesu\Desktop>type "t (2).d"
- Lionello Lunesu (5/17) Nov 24 2006 Just noticed: optlink is using "t.obj" which was just some random file.
C:\Users\llunesu\Desktop>type "t (2).d" module t; void main(){} C:\Users\llunesu\Desktop>dmd "t (2).d" c:\dmd\bin\..\..\dm\bin\link.exe t (2),,,user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved t.obj Offset 00000H Record Type 0064 Error 138: Module or Dictionary corrupt --- errorlevel 1
Nov 23 2006
Lionello Lunesu wrote:C:\Users\llunesu\Desktop>type "t (2).d" module t; void main(){} C:\Users\llunesu\Desktop>dmd "t (2).d" c:\dmd\bin\..\..\dm\bin\link.exe t (2),,,user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved t.obj Offset 00000H Record Type 0064 Error 138: Module or Dictionary corrupt --- errorlevel 1Just noticed: optlink is using "t.obj" which was just some random file. It has nothing to do with the module statement, and it seems that DMD invokes optlink with "t" and "(2)" as separate arguments. L.
Nov 24 2006