Summary: Link time error  when class's method are defined
                    without body and nothing is abstract
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from deadalnix <> 2012-08-29 12:52:57 PDT ---
The sample code is the simplest ever :

class A {
    void foo();

This will cause the error :
classfail.o:(.rodata+0x50): undefined reference to `_D9classfail1A3fooMFZv'

when compiling with dmd 2.060

declaring A or foo as abstract fix the problem. abstract should be deducted
from code or compilation should fail before linking stage.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to