Re: warning: overflow in implicit constant conversion in KoShape.cpp

2012-08-19 Thread C. Boemann
On Sunday 19 August 2012 15:40:25 André Wöbbeking wrote: > On Sunday 19 August 2012 11:38:52 Boudewijn Rempt wrote: > > On Saturday 18 August 2012 Aug, André Wöbbeking wrote: > > > P.S.: Please CC me. > > > > Like this? I don't get the warnings myself so I am not sure. > > Don't know whether I ge

Re: warning: overflow in implicit constant conversion in KoShape.cpp

2012-08-19 Thread André Wöbbeking
On Sunday 19 August 2012 11:38:52 Boudewijn Rempt wrote: > On Saturday 18 August 2012 Aug, André Wöbbeking wrote: > > P.S.: Please CC me. > > Like this? I don't get the warnings myself so I am not sure. Don't know whether I get it because I'm using GCC 4.7 or due to some flags. > diff --git a/li

Re: warning: overflow in implicit constant conversion in KoShape.cpp

2012-08-19 Thread Thorsten Zachmann
On Sunday 19 August 2012 11:38:52 Boudewijn Rempt wrote: > +uint zIndex : 16; // keep maxZIndex in sync! > +uint runThrough : 16; I'm quite sure these values can get negative I think he only talked about int :1 values Thorsten ___ calligra-de

Re: warning: overflow in implicit constant conversion in KoShape.cpp

2012-08-19 Thread Boudewijn Rempt
On Saturday 18 August 2012 Aug, André Wöbbeking wrote: > Hi, > > when compiling Calligra I get: > > calligra/libs/flake/KoShape.cpp: In constructor > 'KoShapePrivate::KoShapePrivate(KoShape*)': > calligra/libs/flake/KoShape.cpp:105:48: warning: overflow in implicit > constant conversion [-Wover

warning: overflow in implicit constant conversion in KoShape.cpp

2012-08-18 Thread André Wöbbeking
Hi, when compiling Calligra I get: calligra/libs/flake/KoShape.cpp: In constructor 'KoShapePrivate::KoShapePrivate(KoShape*)': calligra/libs/flake/KoShape.cpp:105:48: warning: overflow in implicit constant conversion [-Woverflow] calligra/libs/flake/KoShape.cpp:105:48: warning: overflow in impl