[Digikam-devel] Re: warnings from MSVC2008
Gilles Caulier
caulier.gilles at gmail.com
Tue Apr 5 11:44:59 BST 2011
I fixed this warning by this commit :
http://commits.kde.org/digikam/91a8ec5e16728ceb30883e56cfc5ba0c1c7ba3d7
Let's me hear if all is fine for you ?
Gilles
2011/4/4 Marcel Wiesweg <marcel.wiesweg at gmx.de>:
>
>> 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...
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
More information about the Digikam-devel
mailing list