http://d.puremagic.com/issues/show_bug.cgi?id=9684
Summary: rdmd -lib <filename> produces corrupted file
Product: D
Version: D2
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from David Nadlinger <[email protected]> 2013-03-10 18:15:10
PDT ---
The original test case from issues 6535
---
module lib;
import std.stdio;
void libraryFunction()
{
writeln("You have executed the library function!");
}
---
rdmd --build-only -lib lib.d
---
works with rdmd from Git master, but if the command is replaced with just "rdmd
-lib lib.d", i.e. the --build-only flag is not specified, it still creates a
corrupt library file, at least on Linux.
rdmd should probably default to the equivalent of --build-only if -lib is
specified.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------