http://d.puremagic.com/issues/show_bug.cgi?id=5332


Iain Buclaw <ibuc...@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuc...@ubuntu.com


--- Comment #1 from Iain Buclaw <ibuc...@ubuntu.com> 2010-12-09 05:45:27 PST ---
Actually, it's something else. DMD doesn't output var declarations that have no
size.

Patch to always write out globals:

--- dmd~/toobj.c    2010-11-19 22:39:05.011906002 +0000
+++ dmd/toobj.c 2010-12-09 13:29:19.672718003 +0000
@@ -1287,7 +1287,7 @@
         else
             s->Sseg = DATA;
 #endif
-        if (sz)
+        if (1 || sz)
         {   outdata(s);
             if (isExport())
                 obj_export(s,0);


Regards

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to