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

List:       kde-commits
Subject:    Re: Fwd: KDE/kdepimlibs/kpimidentities
From:       David Faure <dfaure () kdab ! net>
Date:       2007-08-13 10:18:27
Message-ID: 200708131218.30847.dfaure () kdab ! net
[Download RAW message or body]

On Monday 13 August 2007, Tom Albers wrote:
> At Monday 13 August 2007 10:30, you wrote:
> > On Tuesday August 7 2007 23:38, Tom Albers wrote:
> > > Op di 7 aug 2007 22:50 schreef Thomas McGuire <Thomas.McGuire@gmx.net>:
> > > > Make new Identities not default when constructed.
> > > > Now only the correct default identity returns true when isDefault() is
> > > > called,
> > > > 
> > > > Identity::Identity( const QString &id, const QString &fullName,
> > > > const QString &emailAddr, const QString
> > > > &organization, const QString &replyToAddr )
> > > > +  : mIsDefault( false )
> > > > {
> > > 
> > > Hi,
> > > 
> > > Maybe it's an idea to check it with a krazy check. All member variables
> > > which are bools must be initialized in the constructor.
> > 
> > -Weff-c++
> 
> this is to cryptic for me to understand.

It's a gcc option which shows the kind of warnings like "member var not initialized \
in ctor" (not just bools though).


-- 
David Faure, faure@kde.org, dfaure@klaralvdalens-datakonsult.se
KDE/KOffice developer, Qt consultancy projects
Klarälvdalens Datakonsult AB, Platform-independent software solutions


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

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