Message info
 
To:Krita\'s developers and users mailing list From:Cyrille Berger Skott Subject:Re: Krita compile error Date:Fri, 30 Mar 2012 17:45:38 +0200
 

On Friday 30 Mar 2012, Boudewijn Rempt wrote:
> On Fri, 30 Mar 2012, Christoph Feck wrote:
> > Hi,
> >
> > Today's calligra master fails to compile (gcc 4.7.0), error message is
> > attached.
>
> Argh... I don't have 4.7 yet -- what's the usual way to solve these
> errors? They are new to me.

Seems to me that

m_mask = (KisPaintDevice*)0;

would solve it (or m_mask = nullptr; if we could do C++11 :) maybe gcc 4.7
have support for it enabled by default and that would explain the new error).

--
Cyrille Berger Skott
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop