headersclean: add -Wredundant-decls

qpagesize.h violated it, resulting in a bug report, so add it to headerscheck.

Task-number: QTBUG-115583
Change-Id: I4c52fb72667edd3f3cf563b8bad91d343ac95328
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Marc Mutz 2024-04-30 09:51:54 +02:00
parent f9751fe13f
commit a074dd5616

View File

@ -112,6 +112,7 @@ function(qt_internal_add_headersclean_target module_target module_headers)
-Woverloaded-virtual -Wshadow -Wundef -Wfloat-equal
-Wnon-virtual-dtor -Wpointer-arith -Wformat-security
-Wchar-subscripts -Wold-style-cast
-Wredundant-decls # QTBUG-115583
-fno-operator-names)
if(QT_FEATURE_reduce_relocations AND UNIX)