Re: 3 compilation warnings in trunk with conversion of double to int

2014-10-27 Thread Scott Kostyshak
On Mon, Oct 27, 2014 at 11:07 AM, Jean-Marc Lasgouttes wrote: > Le 27/10/2014 15:57, Scott Kostyshak a écrit : >>> >>> I did it. Just wanted to check first. >> >> >> Why is x a double? > > > There are doubles because spaces can have on integer width in justified text > (extra space has to be share

Re: 3 compilation warnings in trunk with conversion of double to int

2014-10-27 Thread Jean-Marc Lasgouttes
Le 27/10/2014 15:57, Scott Kostyshak a écrit : I did it. Just wanted to check first. Why is x a double? There are doubles because spaces can have on integer width in justified text (extra space has to be shared). When the text is rtl, the left margin can have strange values. I agree thoug

Re: 3 compilation warnings in trunk with conversion of double to int

2014-10-27 Thread Scott Kostyshak
On Mon, Oct 27, 2014 at 10:49 AM, Richard Heck wrote: > On 10/27/2014 08:15 AM, Jean-Marc Lasgouttes wrote: >> >> Le 27/10/2014 00:40, Richard Heck a écrit : >>> >>> This is from JMarc's recent changes. It's probably harmless. JMarc? >> >> >> Yes, these are harmless. I will fix them when I get som

Re: 3 compilation warnings in trunk with conversion of double to int

2014-10-27 Thread Richard Heck
On 10/27/2014 08:15 AM, Jean-Marc Lasgouttes wrote: Le 27/10/2014 00:40, Richard Heck a écrit : This is from JMarc's recent changes. It's probably harmless. JMarc? Yes, these are harmless. I will fix them when I get some time. I did it. Just wanted to check first. Richard

Re: 3 compilation warnings in trunk with conversion of double to int

2014-10-27 Thread Jean-Marc Lasgouttes
Le 27/10/2014 00:40, Richard Heck a écrit : This is from JMarc's recent changes. It's probably harmless. JMarc? Yes, these are harmless. I will fix them when I get some time. JMarc

Re: 3 compilation warnings in trunk with conversion of double to int

2014-10-26 Thread Richard Heck
On 10/26/2014 08:37 AM, Uwe Stöhr wrote: After a long time I found time to take care of LyX. At first I compiles master and got 3 compilation warnings: * ..\..\src\Row.cpp(386): warning C4244: '=': conversion from 'double' to 'int', possible dataloss [D:\LyXGit\Master\compile-result\src\LyX.v

3 compilation warnings in trunk with conversion of double to int

2014-10-26 Thread Uwe Stöhr
After a long time I found time to take care of LyX. At first I compiles master and got 3 compilation warnings: * ..\..\src\Row.cpp(386): warning C4244: '=': conversion from 'double' to 'int', possible dataloss [D:\LyXGit\Master\compile-result\src\LyX.vcxproj] * ..\..\src\Row.cpp(408): warnin