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 8bf602518d8440542329d867c1a710b66ae12c36 Task-number: COIN-1059 Fixes: QTBUG-114931 Change-Id: Ifc3883f88a6bd52794a37dc640eca99c158a40e0 Reviewed-by: Kai Köhne <kai.koehne@qt.io> (cherry picked from commit 2dcc30592bccd2e6990b25b89490f3c1fe293d78) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%