On 4/14/2012 10:08 PM, Nick Sabalausky wrote:
This contradicts what you said earlier about symbols in obj files always
overriding ones in lib files. Either obj symbols override lib symbols or
they conflict. Manu demonstrated that they conflict, rather than override.
How is your suggestion for replacing druntime functions supposed to work
when the linker is just going to bitch about them being "already defined"?

If explicit obj1 defines A and B and references C, and obj2 in the library defines B and C, then the linker will pull in obj2 in order to resolve C and then B will be multiply defined.

Reply via email to