[Development] [Request] Compiler warnings in Qt

Thiago Macieira thiago.macieira at intel.com
Sat Dec 7 20:45:24 CET 2013


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 like 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 17264 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131207/34f6bebf/attachment.bin>
-------------- 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/20131207/34f6bebf/attachment.sig>


More information about the Development mailing list