summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authorMartin Koller <kollix@aon.at>2020-03-07 21:57:57 +0100
committerMartin Koller <kollix@aon.at>2020-04-11 09:42:37 +0100
commitce672e1c9b1d6272ff8ce6fc626f61f7f3adce06 (patch)
tree5d3575b8ae70d5b9b019f18a5ef223dd4df1c6fd /mkspecs/features
parent033d01bd6e2aef740ad1408a04d3ca0ae3b9ba9b (diff)
avoid compile warning when using clang++ with -Wshorten-64-to-32
Change-Id: I78a6cd84ac5b8c250d9569d864a7e38269b85e10 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/qt_module_headers.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_module_headers.prf b/mkspecs/features/qt_module_headers.prf
index 0c8e4ff2a6..bd3d694195 100644
--- a/mkspecs/features/qt_module_headers.prf
+++ b/mkspecs/features/qt_module_headers.prf
@@ -230,7 +230,7 @@ headersclean:!internal_module {
hcleanFLAGS += -Wcast-align
clang_ver = $${QT_CLANG_MAJOR_VERSION}.$${QT_CLANG_MINOR_VERSION}
- versionAtLeast(clang_ver, 3.8): hcleanFLAGS += -Wdouble-promotion
+ versionAtLeast(clang_ver, 3.8): hcleanFLAGS += -Wdouble-promotion -Wshorten-64-to-32
!clang {
# options accepted only by GCC