optlink error: filenames with spaces
Lionello Lunesu
lio at lunesu.remove.com
Fri Nov 24 01:22:20 PST 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 1
Just 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.
More information about the Digitalmars-d-bugs
mailing list