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

           Summary: Undefined reference for methods without body
                    implemented in derived class
           Product: D
           Version: D1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: mathias.baum...@sociomantic.com


--- Comment #0 from Mathias Baumann <mathias.baum...@sociomantic.com> 
2011-06-17 04:47:46 PDT ---
Created an attachment (id=1001)
Testcase

If you have a method without body in class A and derive from that class to
implement that method, you'll get an undefined reference.

I am getting

bug.o:(.rodata+0x38): undefined reference to `_D3bug4Base4testMFZv'
collect2: ld returned 1 exit status
--- errorlevel 1

for the attached testcase.

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

Reply via email to