From: Ivailo Monev Date: Thu, 11 Jul 2019 15:41:03 +0000 (+0000) Subject: most of the ASCII casts warnings have been taken care of X-Git-Tag: 4.12.0~5500 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b9231be1cda3ec00261f7703019192a23c5e0463;p=kde%2FKatie.git most of the ASCII casts warnings have been taken care of Signed-off-by: Ivailo Monev --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a91c80ae6..88f6c0730 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -182,9 +182,9 @@ add_feature_info(accessibility WITH_ACCESSIBILITY "build accessibility support") include(mkspecs/mkspecs.cmake) add_definitions( - -DQT_ASCII_CAST_WARNINGS -DQT_POSIX_IPC # -DQT_STRICT_ITERATORS + # -DQT_ASCII_CAST_WARNINGS # maybe one day, this forces it onto other projects which (most likely) # means source code adjustments! # -DQT_NO_CAST_FROM_ASCII diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a4da9d81b..4185e43c0 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -35,9 +35,8 @@ include_directories( ${CMAKE_BINARY_DIR}/privateinclude/QtUiTools ) -# FIXME: most tests are not namespaces aware, also do not wrap ASCII chars with -# QLatin1String and QLatin1Char -add_definitions(-DQT_NAMESPACE_COMPAT -UQT_ASCII_CAST_WARNINGS) +# FIXME: most tests are not namespaces aware +add_definitions(-DQT_NAMESPACE_COMPAT) file(GLOB_RECURSE CMAKEFILES "${CMAKE_CURRENT_SOURCE_DIR}/*/CMakeLists.txt") foreach(cmakefile ${CMAKEFILES})