[kde-linux] kdelibs compile error

Florian Harmuth florian.harmuth at googlemail.com
Tue Mar 18 19:11:53 UTC 2008


Ok thx for your answer. Is this a "bug" in kwin.cpp or is the gcc 4.1 my
real problem?

best regards,
flo

2008/3/18, Kevin Krammer <kevin.krammer at gmx.at>:
>
> On Tuesday 18 March 2008, Florian Harmuth wrote:
>
> > kwin.cpp: In member function 'NET::WindowType
> > KWin::WindowInfo::windowType(int) const':
> > kwin.cpp:944: error: invalid conversion from 'int' to 'NET::WindowType'
>
>
> > Any hints?
>
> You probably need to add an explicit cast from the integer literal 0 to
> the
> enum type or return NET::Normal instead of 0.
> I guess the second option is cleaner.
>
> Cheers,
> Kevin
>
>
> --
> Kevin Krammer, KDE developer, xdg-utils developer
> KDE user support, developer mentoring
>
> ___________________________________________________
> This message is from the kde-linux mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20080318/365a36cc/attachment.html>


More information about the kde-linux mailing list