Bug 94 – incorrect symbols generated for "class Object"

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-04-08T14:10:00Z
Last change time
2014-02-15T02:09:24Z
Keywords
link-failure
Assigned to
bugzilla
Creator
thomas-dloop

Comments

Comment #0 by thomas-dloop — 2006-04-08T14:10:40Z
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
Comment #1 by thomas-dloop — 2006-04-08T14:12:31Z
Comment #2 by bugzilla — 2006-04-11T01:34:42Z
Fixed 0.153