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

List:       quanta-devel
Subject:    Re: [quanta-devel] Fwd: [Bug 106034] New: Quanta: SVN TRUNK some
From:       Paulo Moura Guedes <moura () kdewebdev ! org>
Date:       2005-05-23 15:19:03
Message-ID: 200505231619.03899.moura () kdewebdev ! org
[Download RAW message or body]

On Monday 23 May 2005 16:02, Jens Herden wrote:
> On Monday 23 May 2005 21:08, Paulo Moura Guedes wrote:
> > On Friday 20 May 2005 19:57, Andras Mantia wrote:
> > > Paulo,
> > >
> > >  please, please DO NOT USE "assert" in Quanta!
> >
> > You know i have a diferent view but ok, you are the boss :)
> >
> > What I don't understand is why your request is related to this bug. An
> > include was missing...
>
> Wasn't the include assert.h ? Why would one miss this include?

Andras doesn't like std::assert because it crashes the application (although 
one can use NDEBUG). But in this case, an include was missing. If one use 
Q_ASSERT and doesn't #include <qapplication.h>, it will have the same 
problem :) It is not "assert" specific.

I don't know why but I can always compile without #include <cassert>, so I 
keep forgetting :)

-- 
Paulo Moura Guedes

Linux Caixa Mágica  - http://caixamagica.org
KDE Web Development - http://kdewebdev.org
_______________________________________________
quanta-devel mailing list
quanta-devel@kde.org
https://mail.kde.org/mailman/listinfo/quanta-devel

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

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