Em qua 07 maio 2014, às 10:15:57, Robert Knight escreveu: > I enabled suppression of warnings in Qt headers for a project a while > back and ended up suppressing > a real and serious warning that occurred when a generic class in Qt > was instantiated with a particular > type in my code. IIRC I was using QSharedPointer<T> with a 'T' which > was only forward-declared at the point where > ~QSharedPointer<T> ended up being instantiated. The normal warning got > suppressed because it occurred in the > Qt template class header even though the error was actually in > relation to my code.
Side note: this has been fixed in Qt 5. QSharedPointer does not require the full instantiation to delete properly. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
