Re: Some warnings with gcc 4.7

2012-01-07 Thread Richard Heck
On 01/07/2012 09:01 AM, Lars Gullik Bjønnes wrote: Richard Heck writes: | On 01/06/2012 09:24 PM, Lars Gullik Bjønnes wrote: I thought I had already fixed this? Perhaps not in branch? Yes. Revision 39813 in trunk, it has not been backported to branch. This should probably be brought over to th

Re: Some warnings with gcc 4.7

2012-01-07 Thread Lars Gullik Bjønnes
Richard Heck writes: | On 01/06/2012 09:24 PM, Lars Gullik Bjønnes wrote: >> I thought I had already fixed this? Perhaps not in branch? Yes. >> Revision 39813 in trunk, it has not been backported to branch. This >> should probably be brought over to the branch >> | If it seems a good idea, pl

Re: Some warnings with gcc 4.7

2012-01-06 Thread Richard Heck
On 01/06/2012 09:24 PM, Lars Gullik Bjønnes wrote: I thought I had already fixed this? Perhaps not in branch? Yes. Revision 39813 in trunk, it has not been backported to branch. This should probably be brought over to the branch If it seems a good idea, please do. rh

Re: Some warnings with gcc 4.7

2012-01-06 Thread Richard Heck
On 01/06/2012 07:27 PM, José Matos wrote: OK gcc 4.7 is now a problem to me. I am building lyx for fedora 17 that carries gcc 4.7 and the build fails. Further details here: http://koji.fedoraproject.org/koji/getfile?taskID=3626157&name=build.log I am building 2.0.2 but I suspect that this not

Re: Some warnings with gcc 4.7

2012-01-06 Thread Lars Gullik Bjønnes
José Matos writes: | On 11/20/2011 10:46 PM, Lars Gullik Bjønnes wrote: >> Even if gcc 4.7 has not been released (quite far from), it might be nice >> to test compile with it anyway. >> >> Here are the results: >> [...] | OK gcc 4.7 is now a problem to me. I am building lyx for fedora 17 that |

Re: Some warnings with gcc 4.7

2012-01-06 Thread José Matos
On 11/20/2011 10:46 PM, Lars Gullik Bjønnes wrote: > Even if gcc 4.7 has not been released (quite far from), it might be nice > to test compile with it anyway. > > Here are the results: > > GuiFontMetrics.cpp: In member function ‘const > lyx::frontend::GuiFontMetrics::AscendDescend > lyx::fronten

Re: Some warnings with gcc 4.7

2011-11-23 Thread Peter Kümmel
On 22.11.2011 21:37, André Pönitz wrote: On Tue, Nov 22, 2011 at 08:29:44PM +0100, Peter Kümmel wrote: On 21.11.2011 23:32, André Pönitz wrote: On Mon, Nov 21, 2011 at 10:53:49PM +0100, Peter Kümmel wrote: On 21.11.2011 21:24, André Pönitz wrote: First guess: gcc sees 'virtual' on two member

Re: Some warnings with gcc 4.7

2011-11-22 Thread André Pönitz
On Tue, Nov 22, 2011 at 08:29:44PM +0100, Peter Kümmel wrote: > On 21.11.2011 23:32, André Pönitz wrote: > >On Mon, Nov 21, 2011 at 10:53:49PM +0100, Peter Kümmel wrote: > >>On 21.11.2011 21:24, André Pönitz wrote: > >>> > >>>First guess: gcc sees 'virtual' on two member functions but no virtual >

Re: Some warnings with gcc 4.7

2011-11-22 Thread Peter Kümmel
On 21.11.2011 23:32, André Pönitz wrote: On Mon, Nov 21, 2011 at 10:53:49PM +0100, Peter Kümmel wrote: On 21.11.2011 21:24, André Pönitz wrote: First guess: gcc sees 'virtual' on two member functions but no virtual destructor, cannot prove that delete operates only on static type == Yes, se

Re: Some warnings with gcc 4.7

2011-11-21 Thread André Pönitz
On Mon, Nov 21, 2011 at 10:53:49PM +0100, Peter Kümmel wrote: > On 21.11.2011 21:24, André Pönitz wrote: > > > >First guess: gcc sees 'virtual' on two member functions but no virtual > >destructor, cannot prove that delete operates only on static type == > > > > Yes, seems the warning is completel

Re: Some warnings with gcc 4.7

2011-11-21 Thread Peter Kümmel
On 21.11.2011 21:24, André Pönitz wrote: First guess: gcc sees 'virtual' on two member functions but no virtual destructor, cannot prove that delete operates only on static type == Yes, seems the warning is completely valid: GuiWorkArea::Private has a virtual table but no virtual destructor.

Re: Some warnings with gcc 4.7

2011-11-21 Thread Abdelrazak Younes
On 21/11/2011 21:24, André Pönitz wrote: On Mon, Nov 21, 2011 at 10:07:51AM +0100, Lars Gullik Bjønnes wrote: André Pönitz writes: | On Sun, Nov 20, 2011 at 11:46:10PM +0100, Lars Gullik Bjønnes wrote: Even if gcc 4.7 has not been released (quite far from), it might be nice to test compile wi

Re: Some warnings with gcc 4.7

2011-11-21 Thread André Pönitz
On Mon, Nov 21, 2011 at 10:07:51AM +0100, Lars Gullik Bjønnes wrote: > André Pönitz writes: > > | On Sun, Nov 20, 2011 at 11:46:10PM +0100, Lars Gullik Bjønnes wrote: > >> > >> Even if gcc 4.7 has not been released (quite far from), it might be > >> nice to test compile with it anyway. > > > | S

Re: Some warnings with gcc 4.7

2011-11-21 Thread Abdelrazak Younes
On 21/11/2011 10:07, Lars Gullik Bjønnes wrote: André Pönitz writes: | On Sun, Nov 20, 2011 at 11:46:10PM +0100, Lars Gullik Bjønnes wrote: >> >> Even if gcc 4.7 has not been released (quite far from), it might >> be nice to test compile with it anyway. > | Sure. | >> Here are the results:

Re: Some warnings with gcc 4.7

2011-11-21 Thread Lars Gullik Bjønnes
André Pönitz writes: | On Sun, Nov 20, 2011 at 11:46:10PM +0100, Lars Gullik Bjønnes wrote: >> >> Even if gcc 4.7 has not been released (quite far from), it might be >> nice to test compile with it anyway. > | Sure. | >> Here are the results: >> >> GuiWorkArea.cpp: In destructor ‘virtual >>

Re: Some warnings with gcc 4.7

2011-11-20 Thread André Pönitz
On Sun, Nov 20, 2011 at 11:46:10PM +0100, Lars Gullik Bjønnes wrote: > > Even if gcc 4.7 has not been released (quite far from), it might be > nice to test compile with it anyway. Sure. > Here are the results: > > GuiWorkArea.cpp: In destructor ‘virtual > lyx::frontend::GuiWorkArea::~GuiWorkA