On Tuesday 07 February 2006 06:27 pm, Martell, Larry wrote: > On Tue 2/7/2006 1:56 PM Mike Adolf wrote: > > I have started using Qt (on Mandriva 2006) and it seems that g++ is now > > issuing more warning messages. In particular, Qt generates classes > > containing virtual methods without making a virtual destructor. This > > causes a long list of warning messages. Does anyone know what > > environment compiler flag I can set to turn off a given warning. > > I am using Qt on 10.1. I do not get these warnings. These are the g++ > options that get used on my system: > > g++ -c -pipe -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED > -DQT_NO_DEBUG > > You might want to ask this on the Qt mailing list: > > http://lists.trolltech.com/qt-interest/ > > HTH, > -larry
It seems this virtual warning is something new with g++ 4.0. I am using 4.0.1. Thanks for the mail list link, I'll give it a try. Mike ____________________________________________________ Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com Join the Club : http://www.mandrivaclub.com ____________________________________________________
