Bill Wendling wrote:

> Andrew Pinski wasn't able to reproduce the link error on Linux, and I've
> only seen it on Darwin. However, as Chris Lattner pointed out, this
> indicates a fairly serious problem (which shows up even on the Linux
> build) in that the symbols aren't getting internal linkage (they're in
> an anonymous namespace, so should). It could impact performance on large
> systems quite a bit. Certainly during linking.

Names in anonymous namespaces had external linkage for a long time in
G++.  Did they have internal linkage in 4.1, or was that introduced (in
theory) for 4.2?

-- 
Mark Mitchell
CodeSourcery
[EMAIL PROTECTED]
(650) 331-3385 x713

Reply via email to