www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Bug 22] New: ModuleInfo not being generated for object files with "dmd -c"

http://d.puremagic.com/bugzilla/show_bug.cgi?id=22

           Summary: ModuleInfo not being generated for object files with
                    "dmd -c"
           Product: D
           Version: 0.148
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: link-failure
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: walter digitalmars.com
        ReportedBy: sean f4.ca


On Linux, attempting to link an object file previously compiled with "dmd -c"
generates an error similar to the following: "undefined reference to
'_ModuleInfo_...'."

Testcases:

http://dstress.kuehne.cn/complex/typeinfo_init/a.d
http://dstress.kuehne.cn/complex/typeinfo_init/b.d


-- 
Mar 06 2006