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

--- Comment #0 from Mathias Baumann <> 
2011-06-17 04:47:46 PDT ---
Created an attachment (id=1001)

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:
------- You are receiving this mail because: -------

Reply via email to