K_GLOBAL_STATIC and other macros

Thiago Macieira thiago at kde.org
Fri Apr 13 20:46:31 BST 2007


Matthias Kretz wrote:
>was a bugfix. The change implies that now qrand() cannot be used in
> global dtors anymore. That's what I was saying in my other mail: if it
> works without crashes in one version you cannot assume it will still
> work in the next version - which might introduce new global statics
> that are destructed before your object.

I think it's the other way around: if you introduce crashes where there 
were previously none, you introduced a bug.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- 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/20070413/cbd5d822/attachment.sig>


More information about the kde-core-devel mailing list