[Bug c++/21405] Template inlines have global visibility

2005-05-08 Thread mike at navi dot cx
--- Additional Comments From mike at navi dot cx 2005-05-08 12:38 --- http://gcc.gnu.org/onlinedocs/libstdc++/abi.html See the "testing multi-abi binaries" section at the bottom: A "C" application, dynamically linked to two shared libraries, liba, libb. The dependent library liba is C

[Bug c++/21405] Template inlines have global visibility

2005-05-08 Thread chris at bubblescope dot net
--- Additional Comments From chris at bubblescope dot net 2005-05-08 12:18 --- Out of interest, where do the docs say that? (I'm not being sarcastic, just interested) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21405

[Bug c++/21405] Template inlines have global visibility

2005-05-05 Thread mike at navi dot cx
--- Additional Comments From mike at navi dot cx 2005-05-06 00:17 --- No, there is very definitely a bug here even if it's just in the documentation. The GCC docs say in very clear and unambiguous terms that this will work, by design. Not by accident, by design. That's the whole point of

[Bug c++/21405] Template inlines have global visibility

2005-05-05 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-05 22:40 --- So here is the story really global templates have aways global visibility in C++ so this is not a bug in GCC or binutils. This is a bug in how you think that you can use two different versions. --

[Bug c++/21405] Template inlines have global visibility

2005-05-05 Thread mike at navi dot cx
--- Additional Comments From mike at navi dot cx 2005-05-05 22:39 --- I don't understand what you mean. There's definitely a bug here because a configuration that the docs say should work, causes mysterious crashes due to mis-binds of symbols. I suspect building with -fvisibility-inlines-

[Bug c++/21405] Template inlines have global visibility

2005-05-05 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-05 22:27 --- I don't know if this is really a vaild bug, as the standard requires the inline function as the same so it would be undefined if they are different. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21405