[Issue 12696] GIT HEAD : undefined symbols when -O specified

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon May 5 07:13:49 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12696

Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com

--- Comment #2 from Vladimir Panteleev <thecybershadow at gmail.com> ---
I can't reproduce this.

I had to make the following modifications (add two module statements):

diff --git a/perfontain/binary.d b/perfontain/binary.d
index ac4bc19..4a4ac00 100644
--- a/perfontain/binary.d
+++ b/perfontain/binary.d
@@ -1,3 +1,5 @@
+module perfontain.binary;
+
 import std.range;
 import std.traits;

diff --git a/ro/map/rom.d b/ro/map/rom.d
index 40921d8..c691dbb 100644
--- a/ro/map/rom.d
+++ b/ro/map/rom.d
@@ -1,3 +1,5 @@
+module ro.map.rom;
+
 import perfontain.matrix;

This command works for me:

rdmd -O ro\romloader.d

--


More information about the Digitalmars-d-bugs mailing list