DRAFT document on coding conventions in kde libraries

Thiago Macieira thiago at kde.org
Mon Mar 13 16:37:10 GMT 2006


Dirk Mueller wrote:
>I don't think its that easy. Maybe with gcc < 4.0 it was that easy.
> However, with newer compilers, its more or less impossible to get
> dynamic_cast working accross DSO's unless all of them are loaded with
> global symbol resolution.

Hmm? That's news to me. Can you point to a case where this is going awry?

I thought that the only important thing is to have the typeinfo 
well-placed (non-weak). That, in turn, means the class with virtuals must 
have at least one non-inline virtual method. (preferrably the 
destructor).

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

3. Ac seo woruld wearð geborod, swá se Scieppend cwæð "Gewurde Unix" and 
wundor fremede and him "Unix" genemned, þæt is se rihtendgesamnung.
-------------- 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/20060313/15a5186e/attachment.sig>


More information about the kde-core-devel mailing list