SUBMISSION: New Library for kdesupport: indexlib

Thiago Macieira thiago at kde.org
Sun Jun 12 17:11:07 BST 2005


Malte S. Stretz wrote:
>https://bugs.kde.org/show_bug.cgi?id=101542
>https://bugs.gentoo.org/show_bug.cgi?id=86898

These are a bit different. g++ isn't at fault there: we are.

We turned on visibility for code that isn't supposed to use that. We 
should have used the pragmas in our headers and source files, instead of 
using -fvisibility=hidden.

In special, the hidden visibility was applied to Qt3 code, which doesn't 
support that in Unix. That meant the virtual tables and typeinfos for 
polymorphic classes without a destructor were emitted in the program and 
in libqt-mt. The end result is that dynamic_cast would operate wrongly.

The bug we're alluding to here is a real bug, affecting the g++ 3.4.x 
patched versions. See my other emails for details.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

2. Tó cennan his weorc gearu, ymbe se circolwyrde, wearð se cægbord and se 
leohtspeccabord, and þa mýs cómon lator. On þone dæg, he hine reste.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050612/7f3836d7/attachment.sig>


More information about the kde-core-devel mailing list