[Bug c++/23628] Typeinfo comparison code easily breaks shared libs

2005-08-31 Thread ghost at cs dot msu dot su
--- Additional Comments From ghost at cs dot msu dot su 2005-08-31 14:31 --- You might be formally right, but what about practical consequences? Unless *all* libraries I use have push/pops in *every single header*, using -fvisibility for my own library can result in crash. So for a

[Bug c++/23628] Typeinfo comparison code easily breaks shared libs

2005-08-31 Thread ghost at cs dot msu dot su
--- Additional Comments From ghost at cs dot msu dot su 2005-08-31 07:16 --- It's is mess, but I hope that we don't just agree on *that*. The situation is that the whole -fvisibility thing does not work reliably for C++ dynamic libraries which is rather bad. --

[Bug c++/23628] Typeinfo comparison code easily breaks shared libs

2005-08-30 Thread ghost at cs dot msu dot su
--- Additional Comments From ghost at cs dot msu dot su 2005-08-30 13:10 --- To clarify what Marcus said, I've made a small example: http://zigzag.cs.msu.su/~ghost/rtti-4.0 The third party library 'libhelper.so' is built with default visibility. I want