Go to file
Michal Klocek 2dcc30592b Fix headers clean for newer msvc
Newer msvc gives C4309 warning for 'initializing':
truncation of constant value

Warning would go away if we had 'enum foo: unsigned'.
Disable the warning for problematic enums is not enough
as it also complains about headers coming from windows sdk
like:

C:\Program Files (x86)\Windows
Kits\10\include\10.0.22621.0\shared\wtypesbase.h(395): warning C4309:
'initializing': truncation of constant value

Note 10.0.22621.0 is the latest sdk already.

Do not disable language extensions for header clean target.

This reverts commit 8bf602518d

Task-number: COIN-1059
Fixes: QTBUG-114931
Pick-to: 6.6
Change-Id: Ifc3883f88a6bd52794a37dc640eca99c158a40e0
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-06-28 16:02:45 +00:00
.github/workflows
bin
cmake
coin
config.tests
dist
doc
examples
lib
libexec
LICENSES
mkspecs
qmake
src
tests
util
.cmake.conf
.gitattributes
.gitignore
.lgtm.yml
.tag
CMakeLists.txt
config_help.txt
configure
configure.bat
configure.cmake
dependencies.yaml
qt_cmdline.cmake
sync.profile