[Digikam-devel] Re: warnings from MSVC2008

Marcel Wiesweg marcel.wiesweg at gmx.de
Mon Apr 4 21:21:31 BST 2011


> Line is there :
> 
> https://projects.kde.org/projects/extragear/graphics/digikam/repository/rev
> isions/master/entry/libs/widgets/graphicsview/regionframeitem.cpp#L621
> 
> The problem is NOT operator on front of d->flags, which convert it to
> pure boolean and applying AND operator with GeometryEditable is a
> problem.
> 
> http://msdn.microsoft.com/en-us/library/fx3e68bw%28v=vs.80%29.aspx
> 
> What do you think about ?

Yes, it's a mistake in the code. We want to ignore the event if the flag is 
not set. The compiler is right with it's warning...



More information about the Digikam-devel mailing list