headersclean: Check fno-operator-names
KDE Frameworks tests this in one build configuration. Verify that we do not break it in public Qt headers. Task-number: QTBUG-110585 Change-Id: I5c976d00d7b1aba026e99acb9bad176103e23b0b Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Kai Köhne <kai.koehne@qt.io>
This commit is contained in:
parent
80cb1426aa
commit
6854d35393
@ -104,6 +104,7 @@ function(qt_internal_add_headersclean_target module_target module_headers)
|
||||
|
||||
set(hcleanFLAGS -Wall -Wextra -Werror -Woverloaded-virtual -Wshadow -Wundef -Wfloat-equal
|
||||
-Wnon-virtual-dtor -Wpointer-arith -Wformat-security -Wno-long-long -Wno-variadic-macros
|
||||
-fno-operator-names
|
||||
-pedantic-errors)
|
||||
|
||||
if(QT_FEATURE_reduce_relocations AND UNIX)
|
||||
|
Loading…
Reference in New Issue
Block a user