[Development] Enabling -Werror developer builds

Thiago Macieira thiago.macieira at intel.com
Tue Aug 20 17:40:44 CEST 2013


On segunda-feira, 19 de agosto de 2013 15:14:03, Thiago Macieira wrote:
> 2) -Werror is enabled only for certain compiler versions. I'll update the 
> whitelist to have an upper range too. For example, right now it enables -
> Werror for GCC 4.6 and above. I'm going to introduce an upper limit because
> we  don't know what new warnings our code triggers with newer versions of
> GCC. That means we'll need to first clean up the warnings before expanding
> the whitelist.

By the way, I tried MSVC /WX, but it MS's own Standard Library headers aren't 
warnings-clean. And unlike GCC, MSVC does not suppress warnings from system 
headers.

That's why MSVC won't get the feature.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- 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/20130820/c7821f27/attachment.sig>


More information about the Development mailing list