-*- mode: compilation; default-directory: "~/d/" -*-
Compilation started at Sat Dec 6 14:01:01
~/dmd/bin/dmd bug2.d
bug2.o:(.data._D4bug212__T3vecTAyaZ3vec6__vtblZ+0x4): undefined reference to `_D6object6Object5printMFZv'
collect2: ld returned 1 exit status
--- errorlevel 1
Compilation exited abnormally with code 1 at Sat Dec 6 14:01:02
Comment #1 by jlquinn — 2008-12-06T13:03:15Z
Created attachment 280
program that fails to link
Comment #2 by jlquinn — 2008-12-09T22:48:25Z
This is actually a regression
Comment #3 by bugzilla — 2008-12-11T05:27:03Z
The print() function was removed from Object, due to popular demand. The fact that something is referencing it suggests that an old libphobos2.a is being linked in rather than the one that matches the new phobos sources.
It works when I try it.