Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.14.0
-
None
-
-
d20303250427de7eb2c336c4340a123e00d897e0 (qt-creator/qt-creator/4.14)
Description
When trying to analyze my code that is built against a Kit with MSVC 2019/16.8..
With clang-tidy, it fails with errors like:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\intrin.h:56:1: error: expected function body after function declarator [clang-diagnostic-error] __MACHINE(void * _AddressOfReturnAddress(void)) ^ Suppressed 3 warnings (3 with check filters). Found compiler error(s).
That might be related to MSVC 2019/16.8: https://github.com/microsoft/STL/issues/1300
With clazy, it fails with errors like:
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winnt.h(1010,5): error: MS-style inline assembly is not available: Unable to find target for this triple (no targets are registered) __asm { ^
When trying to do that with a MinGW 8.1 x64 kit, it fails like this...
With clazy, it fails with errors like:
C:\Qt\Tools\mingw810_64\lib\gcc\x86_64-w64-mingw32\8.1.0\include\xmmintrin.h:292:19: error: use of undeclared identifier '__builtin_ia32_movss' return (__m128) __builtin_ia32_movss ((__v4sf) __A,
Attachments
Issue Links
- relates to
-
QTCREATORBUG-20818 Clang-tidy fails to analyze files on Windows with MinGW
- Closed