<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 24, 2011, at 1:30 PM, Renato Golin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 24/01/11 17:33, Douglas Gregor wrote:<br><blockquote type="cite">That depends on the linker. With the Mac OS 10.6 dynamic linker, for<br></blockquote><blockquote type="cite">example, a strong external symbol in one shared library will not get<br></blockquote><blockquote type="cite">merged with same-named weak symbols in another shared library.<br></blockquote><br>Oh! I see...<br><br>So what do you do? Mangle them differently? Or just make sure that<br>nothing in one object access the symbols in the other objects?<br></div></blockquote></div><br><div>I honestly don't know the details of the optimization. I just know the limits it places on explicit instantiations :)</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">      </span>- Doug</div></body></html>