[Issue 6170] New: Undefined reference for methods without body implemented in derived class
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 17 04:52:29 PDT 2011
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: nobody at puremagic.com
ReportedBy: mathias.baumann at sociomantic.com
--- Comment #0 from Mathias Baumann <mathias.baumann at 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: -------
More information about the Digitalmars-d-bugs
mailing list