[Development] [Request] Compiler warnings in Qt

Knoll Lars Lars.Knoll at digia.com
Mon Dec 9 10:05:36 CET 2013

I think this is ok for the headers, but I don’t think we’d be doing
ourselves a favor if we tried to use these warnings for .cpp files.


On 07.12.13 20:45, "Thiago Macieira" <thiago.macieira at intel.com> wrote:

>On sábado, 7 de dezembro de 2013 13:36:35, Kurt Pattyn wrote:
>>                         "-Wsign-conversion"
>>                         "-Wsign-promo"
>>                         "-Wsign-compare"
>Oh, man. These three are extremely annoying. I now remember why we don't
>unsigned types in our API...
>So why are we using uint in a few member variables, like in QMetaType?
>Here's what I've got for QtCore, without fixing the
>Q_DECLARE_METATYPE_TEMPLATE_2ARG macro. Do we want apply this?
>Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list