Ensure that Qt public headers compile with strict flags
authorDavid Faure <faure@kde.org>
Fri, 17 Feb 2012 08:05:39 +0000 (09:05 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 17 Feb 2012 15:42:28 +0000 (16:42 +0100)
commit7e970eb58c71dc08981575c648a04d258dbf0684
treedb556d2d066b61297025aafe1426d667a917ae62
parent77172b25fe18c8c9e1578e2c0caeb63cb674513a
Ensure that Qt public headers compile with strict flags

Those from
http://wiki.qt-project.org/Coding_Conventions#Conventions_for_public_header_files
(unfortunatey -Wold-style-cast cannot be used due to the glibc macro bswap_16)
and many Qt defines that disable casts.

Change-Id: I97ac707a101df9819e8c031fa75a31b30e20247f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/kernel/qmetatype.h
src/gui/accessible/qaccessible.h
tests/auto/other/headersclean/headersclean.pro
tests/auto/other/headersclean/tst_headersclean.cpp