headersclean: Re-add zero-as-null-pointer-constant warning
Amends 0f985e16ba, which accidentally
dropped this flag (duh!).
Change-Id: Ie772f9e524625edfcdcda4d73a9a712fcd77f8c8
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
bb10
parent
65081c67f3
commit
c5864a96a6
|
|
@ -120,7 +120,8 @@ function(qt_internal_add_headersclean_target module_target module_headers)
|
|||
endif()
|
||||
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
list(APPEND hcleanFLAGS -Wdouble-promotion -Wfloat-conversion)
|
||||
list(APPEND hcleanFLAGS -Wzero-as-null-pointer-constant
|
||||
-Wdouble-promotion -Wfloat-conversion)
|
||||
endif()
|
||||
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang|IntelLLVM")
|
||||
|
|
|
|||
Loading…
Reference in New Issue