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

Re: compiler warnings in trunk

2011-04-10 Thread Julien Rioux
On 10/04/2011 11:12 AM, Andre Poenitz wrote: On Sun, Apr 10, 2011 at 10:31:47AM -0400, Richard Heck wrote: On 04/09/2011 06:46 PM, Julien Rioux wrote: I always saw those two warnings (paraphrased): Lexer.cpp:197 may be used uninitialized void Lexer::Pimpl::verifyTable() { // [...]

Re: compiler warnings in trunk

2011-04-10 Thread Andre Poenitz
On Sun, Apr 10, 2011 at 10:31:47AM -0400, Richard Heck wrote: > On 04/09/2011 06:46 PM, Julien Rioux wrote: > >I always saw those two warnings (paraphrased): > >Lexer.cpp:197 may be used uninitialized void Lexer::Pimpl::verifyTable() { // [...] if (table <- this line?

Re: compiler warnings in trunk

2011-04-10 Thread Richard Heck
On 04/09/2011 06:46 PM, Julien Rioux wrote: I always saw those two warnings (paraphrased): Lexer.cpp:197 may be used uninitialized Server.cpp:1018 ignoring return value of write(...) The Lexer one has been there forever. I'm not sure why we get it, and I'm certainly not sure why removing the a

compiler warnings in trunk

2011-04-09 Thread Julien Rioux
I always saw those two warnings (paraphrased): Lexer.cpp:197 may be used uninitialized Server.cpp:1018 ignoring return value of write(...) I have looked into these two warnings to learn a bit more on cpp. For the first one, I could remove the warning by removing the anonymous namespace, but I

Re: Warnings in trunk

2010-10-13 Thread Richard Heck
On 10/12/2010 08:15 PM, Pavel Sanda wrote: Pavel Sanda wrote: when opening or creating new files in trunk is see on the console messages like: Warning: 83 Warning: 34 i guess this has something to do with last changes in lyx2lyx. try to open eg additional manual. newly saved files d

Re: Warnings in trunk

2010-10-12 Thread Uwe Stöhr
> i guess this has something to do with last changes in lyx2lyx. Yes, it was a debug warning I forgot to delete before committing. I removed it now. regards Uwe

Re: Warnings in trunk

2010-10-12 Thread Pavel Sanda
Pavel Sanda wrote: > when opening or creating new files in trunk is see on the console messages > like: > > Warning: 83 > Warning: 34 i guess this has something to do with last changes in lyx2lyx. try to open eg additional manual. newly saved files do not have it. > > pavel

Warnings in trunk

2010-10-12 Thread Pavel Sanda
when opening or creating new files in trunk is see on the console messages like: Warning: 83 Warning: 34 pavel