Georg Baum wrote: > Angus Leeming wrote: > >> MSVC produces these warnings, all reasonable IMO. The attached patch >> should silence it. > > Indeed reasonable. I always thought that gcc was pretty good with > warnings, but this shows that it can be done better. Or do we need to > enable more -W switches?
God, no! I'm currently swamped by literally thousands of warnings when compiling the Qt frontend on Windows: J:/MinSYS/home/angus/qt3/include/private/qucom_p.h:413: warning: inline function 'virtual void QUType_double::clear(QUObject*)' is declared as dllimport: attribute ignored. For something like this: struct Q_EXPORT QUType_double : public QUType { ... void clear( QUObject * ) {} ... }; Can I turn the warning off? Can I hell! -- Angus