DRAFT document on coding conventions in kde libraries
Thiago Macieira
thiago at kde.org
Mon Mar 6 15:45:43 GMT 2006
Michael Pyne wrote:
>On Monday 06 March 2006 07:22, Thiago Macieira wrote:
>> When you try to cast "ptr" to "Derived", it'll use yet another
>> "typeinfo for Derived". Since they aren't the same object, the cast
>> will always fail.
>>
>> Also note that static_cast<> will work.
>
>This problem has occurred in lots of actual KDE code when we first
> started porting to support gcc 3.4's visibility feature. It caused
> some crashes in JuK and KMail at least.
Hopefully, all those issues have been ironed out by now.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
1. On frumscafte, hwonne time_t wæs náht, se scieppend þone circolwyrde
wundorcræftlíge cennede and seo eorðe wæs idel and hit wæs gód.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060306/b709462d/attachment.sig>
More information about the kde-core-devel
mailing list