Suspicous code in kdelibs-3.5.2

Frans Englich frans.englich at telia.com
Sat Apr 8 15:51:08 BST 2006


On Saturday 08 April 2006 13:59, Cristian Tibirna wrote:
> On 5 April 2006 10:26, Christoph Bartoschek wrote:
[...]

> If I had a "programming-by-contract" frame in KDE, I would have added an
> assertion in development-mode. Without one, this would mean adding useless
> translatable strings (for a KMessageBox::error) and break too many freeze
> rules.

Can't you use Q_ASSERT or Q_ASSERT_X?

(I use them as a primitive ICE system in KDOM's XQuery compiler; have close to 
400.)


Cheers,

		Frans




More information about the kde-core-devel mailing list