[Development] QtCore missing check for memory allocation

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Wed Feb 25 13:18:38 CET 2015


Il 25/02/2015 12:39, Rainer Keller ha scritto:
> Is QT_NO_DEBUG really disabling the check for valid memory allocation?

It also depends on exception support, but yes. Also unlike Q_ASSERT 
there isn't an equivalent of QT_FORCE_ASSERTS to make the check present 
in non-debug no-exceptions builds...

Anyhow, what's the problem with that?

-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Software Engineer
KDAB (UK) Ltd., a KDAB Group company
Tel. UK +44-1738-450410, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4048 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150225/1185835f/attachment.bin>


More information about the Development mailing list