[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: koffice/kspread
From: David Faure <faure () kde ! org>
Date: 2006-02-27 10:41:12
Message-ID: 200602271141.13210.faure () kde ! org
[Download RAW message or body]
On Monday 27 February 2006 11:22, Robert Knight wrote:
> Odd, that compiled quite happily for me on my machine with plain "assert".
Probably missing a #include <assert.h> on some systems.
> Should I use qFatal instead in future?
No, this makes the code remain in release mode, which the asserts don't do.
assert() (which aborts) or Q_ASSERT() (which doesn't abort, in Qt3) are fine.
--
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic