[Development] Warnings in Qt code (was Re: QT_DEPRECATED_SINCE and QT_DISABLE_DEPRECATED_BEFORE)

Thiago Macieira thiago at kde.org
Tue Nov 1 14:25:50 CET 2011


On Tuesday, 1 de November de 2011 13:13:37 bradley.hughes at nokia.com wrote:
> On 01 Nov, 2011, at 11:17 , ext Thiago Macieira wrote:
> > I'd also like to work on enabling -Werror, but usually deprecation
> > warnings
> > cannot be avoided, so I'll add also a Wno-error-deprecated.
> 
> I would also like to see this, but unfortunately it's not possible at the
> moment. I've taken it upon myself to use the clang 3.0 branch to build Qt
> as well, which emits even more warnings (since -Woverloaded-virtual is
> included in the default warnings it seems).

The code I had at Nokia only enabled it for certain compilers. Clang and ICC 
produce too many warnings.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20111101/4b568161/attachment.sig>


More information about the Development mailing list