[RFC] Proper initialization of class members and variables

Thiago Macieira thiago at kde.org
Sat Nov 19 13:00:05 GMT 2005


Christian Ehrlicher wrote:
>And it looks like gcc/mingw initialize it with zeros too - Ralf Habacker
>wrote some code for qt3/free which did not work for me because he was
>using gcc with unitialized variables and I with msvc got crashes...

I've just written a test program with g++ and it doesn't initialise 
memory.

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

4. And æfter se scieppend ingelogode, he wrát "cenn", ac eala! se 
rihtendgesamnung andswarode "cenn: ne wát hú cennan 'eall'. Ástynt."
-------------- 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/20051119/002d47f6/attachment.sig>


More information about the kde-core-devel mailing list