Thread overview | |||||
---|---|---|---|---|---|
|
December 17, 2009 [Issue 3627] New: -of with a filename with a double extension confuses linker | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3627 Summary: -of with a filename with a double extension confuses linker Product: D Version: 1.030 Platform: Other OS/Version: Windows Status: NEW Keywords: patch Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: thecybershadow@gmail.com --- Comment #0 from Vladimir <thecybershadow@gmail.com> 2009-12-17 12:29:27 PST --- Created an attachment (id=526) Proposed patch Starting with DMD 1.030, DMD will create object files using the base filename specified in -of. If the filename specified in -of has a double extension (for example, main_02.d.exe), DMD will attempt to pass to the linker only "main_02.d", omitting the ".obj" extension. However, the linker will notice that the suppled filename already has an extension, and tries to open "main_02.d" instead of "main_02.d.obj". This problem currently breaks DStress, at least on Windows. The attached patch checks for double extensions when constructing the linker argument list, and passes through the full file name in those cases. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 02, 2010 [Issue 3627] -of with a filename with a double extension confuses linker | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vladimir | http://d.puremagic.com/issues/show_bug.cgi?id=3627 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bitworld@qq.com --- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-09-02 01:38:18 PDT --- *** Issue 2886 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 12, 2010 [Issue 3627] -of with a filename with a double extension confuses linker | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vladimir | http://d.puremagic.com/issues/show_bug.cgi?id=3627 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2010-09-11 18:35:13 PDT --- http://www.dsource.org/projects/dmd/changeset/676 and 677 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation