[Bug 94] New: incorrect symbols generated for "class Object"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 8 12:10:40 PDT 2006


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

           Summary: incorrect symbols generated for "class Object"
           Product: D
           Version: 0.152
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: link-failure
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: thomas-dloop at kuehne.cn


module somemodule;

class Object{
   int i;
}

int main(){
    return 0;
}

dmd 
/opt/dmd/dmd/lib/libphobos.a(object.o):(.rodata+0x8): multiple definition of
`_init_6Object'
a.o:(.rodata+0x0): first defined here
/opt/dmd/dmd/lib/libphobos.a(object.o):(.data+0x0): multiple definition of
`_Class_6Object'
a.o:(.data+0x0): first defined here
/opt/dmd/dmd/lib/libphobos.a(object.o):(.rodata+0x18): multiple definition of
`_vtbl_6Object'
a.o:(.rodata+0x10): first defined here
collect2: ld returned 1 exit status


-- 




More information about the Digitalmars-d-bugs mailing list