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

List:       kde-kimageshop
Subject:    Re: Krita compile error
From:       Cyrille Berger Skott <cberger () cberger ! net>
Date:       2012-03-30 15:45:38
Message-ID: 201203301745.38690.cberger () cberger ! net
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

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