Krita compile error

Cyrille Berger Skott cberger at cberger.net
Fri Mar 30 15:45:38 UTC 2012


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


More information about the kimageshop mailing list