Re: new compilation warning in 2.2.x branch

2016-07-27 Thread Jean-Marc Lasgouttes
Yes definitely. JMarc Le 26 juillet 2016 19:33:57 GMT+02:00, Richard Heck a écrit : >In this case, it looks as if it really should be a double: I.e., I can >make >it a double, and it still compiles.

Re: new compilation warning in 2.2.x branch

2016-07-26 Thread Richard Heck
On 07/25/2016 09:58 PM, Guillaume Munch wrote: > Le 26/07/2016 à 00:15, Uwe Stöhr a écrit : >> I found time to compile today's 2.2.x branch. I get this warning that >> could and should be avoided: >> >> TextMetrics.cpp >> D:\LyXGit\2.2.x\src\RowPainter.cpp(590): warning C4244: 'initializing': >>

Re: new compilation warning in 2.2.x branch

2016-07-25 Thread Guillaume Munch
Le 26/07/2016 à 00:15, Uwe Stöhr a écrit : I found time to compile today's 2.2.x branch. I get this warning that could and should be avoided: TextMetrics.cpp D:\LyXGit\2.2.x\src\RowPainter.cpp(590): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data [D:\LyX

new compilation warning in 2.2.x branch

2016-07-25 Thread Uwe Stöhr
I found time to compile today's 2.2.x branch. I get this warning that could and should be avoided: TextMetrics.cpp D:\LyXGit\2.2.x\src\RowPainter.cpp(590): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data [D:\LyXGit\2.2.x\compile-2015\src\LyX.vcxproj]