Re: Fix compiler warnings in pedantic mode

2010-12-16 Thread Stephan Witt
Am 16.12.2010 um 09:47 schrieb Abdelrazak Younes: > On 12/16/2010 07:25 AM, Stephan Witt wrote: >> Am 16.12.2010 um 00:44 schrieb Pavel Sanda: >> >> >>> Stephan Witt wrote: >>> Index: src/frontends/Clipboard.h === >

Re: Fix compiler warnings in pedantic mode

2010-12-16 Thread Abdelrazak Younes
On 12/16/2010 07:25 AM, Stephan Witt wrote: Am 16.12.2010 um 00:44 schrieb Pavel Sanda: Stephan Witt wrote: Index: src/frontends/Clipboard.h === --- src/frontends/Clipboard.h (Revision 36891) +++ src/frontends/Clipboar

Re: Fix compiler warnings in pedantic mode

2010-12-15 Thread Stephan Witt
Am 15.12.2010 um 23:16 schrieb Jean-Marc Lasgouttes: > Le 15/12/2010 22:36, Stephan Witt a écrit : >> I tried to compile LyX with -pedantic option. >> >> Most warnings are easy to fix. See the attached patch. > > The patch looks correct, except for some of the casts in .m files (but > they can p

Re: Fix compiler warnings in pedantic mode

2010-12-15 Thread Stephan Witt
Am 16.12.2010 um 00:44 schrieb Pavel Sanda: > Stephan Witt wrote: >> Index: src/frontends/Clipboard.h >> === >> --- src/frontends/Clipboard.h(Revision 36891) >> +++ src/frontends/Clipboard.h(Arbeitskopie) >> @@ -39,7 +

Re: Fix compiler warnings in pedantic mode

2010-12-15 Thread Pavel Sanda
Stephan Witt wrote: > Index: src/frontends/Clipboard.h > === > --- src/frontends/Clipboard.h (Revision 36891) > +++ src/frontends/Clipboard.h (Arbeitskopie) > @@ -39,7 +39,7 @@ > LinkBackGraphicsType, > EmfG

Re: Fix compiler warnings in pedantic mode

2010-12-15 Thread Enrico Forestieri
On Wed, Dec 15, 2010 at 11:16:34PM +0100, Jean-Marc Lasgouttes wrote: > Le 15/12/2010 22:36, Stephan Witt a écrit : > >I tried to compile LyX with -pedantic option. > > > >Most warnings are easy to fix. See the attached patch. > > The patch looks correct, except for some of the casts in .m files (

Re: Fix compiler warnings in pedantic mode

2010-12-15 Thread Jean-Marc Lasgouttes
Le 15/12/2010 22:36, Stephan Witt a écrit : I tried to compile LyX with -pedantic option. Most warnings are easy to fix. See the attached patch. The patch looks correct, except for some of the casts in .m files (but they can probably not be avoided). But one isn't that easy: src/frontends/q

Fix compiler warnings in pedantic mode

2010-12-15 Thread Stephan Witt
I tried to compile LyX with -pedantic option. Most warnings are easy to fix. See the attached patch. But one isn't that easy: src/frontends/qt4/GuiProgressView.cpp: In member function 'void lyx::frontend::GuiProgressView::debugSelectionChanged()': src/frontends/qt4/GuiProgressView.cpp:149: warn