[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Release: critical bug in kplato, advice needed
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2009-05-22 9:47:23
Message-ID: 200905221147.23953.boud () valdyas ! org
[Download RAW message or body]

On Friday 22 May 2009, Dmitry Kazakov wrote:
> "Q_ASSERT() is useful for testing pre- and post-conditions during
> development. It does nothing if QT_NO_DEBUG was defined during
> compilation."
>
> I think kplato is build in Release mode and QT_NO_DEBUG was defined. So
> Q_ASSERT is nothing there. =)
>

Yes -- in fact the Qt docs do warn against relying on side effects in assert
statements. I've been bitten by that, too, before.
-- 
Boudewijn Rempt | http://www.valdyas.org
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic