Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.11.0, Qt Creator 4.11.1, Qt Creator 4.12.0-rc1
-
None
-
Visual Studio 2019 16.5.4
Description
After update to Visual Studio 16.5 compilers there is error when parsing any file that includes some of STL headers.
yvals_core.h:435:2: error: STL1000: Unexpected compiler version, expected Clang 9.0.0 or newer.
Part of yvals_core.h:
#ifndef _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH #ifdef __EDG__ // not attempting to detect __EDG_VERSION__ being less than expected #elif defined(__clang__) #if __clang_major__ < 9 #error STL1000: Unexpected compiler version, expected Clang 9.0.0 or newer. #endif // ^^^ old Clang ^^^ #elif defined(_MSC_VER) #if _MSC_VER < 1924 // Coarse-grained, not inspecting _MSC_FULL_VER #error STL1001: Unexpected compiler version, expected MSVC 19.24 or newer. #endif // ^^^ old MSVC ^^^ #else // vvv other compilers vvv // not attempting to detect other compilers #endif // ^^^ other compilers ^^^ #endif // _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH
It seemsĀ Qt Creator uses too old version of LibClang and MSVC header parsed for Clang not for current toolchain which is MSVC
Probably related bug: QTCREATORBUG-21373
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-23800 Code model can not parse included file. Prebuild Qt 5.12.7 with MSVC 2019
-
- Closed
-