www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2726] New: linker does not add "unused" module info

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2726

           Summary: linker does not add "unused" module info
           Product: D
           Version: 1.041
          Platform: Macintosh
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: fawzi gmx.ch


on OSX the moduleInfo list (beteween _minfo_beg and _minfo_end) does not
include "unused" modules.

This is a nice optimization, and makes sense, but it would be nice to have a
way to disable it.

As it is now most unitest executing programs (programs that execute all
unittests of all modules) do not work, because their list of module to test is
empty (as they did not import it.

At minimum this behaviour should be documented, so that one knows it.


-- 
Mar 10 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2726


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |WORKSFORME



19:14:55 PST ---
I believe this was fixed - cannot reproduce it.

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