Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20818

Clang-tidy fails to analyze files on Windows with MinGW

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 4.8.1
    • Qt Creator 4.7.0
    • None
    • Windows 10 64bit
      Online Installer used to get QtCreator 4.7.0, Qt 5.9.6 MinGW, MinGW 5.3.0
    • Windows

    Description

      I wanted to use the clang-tidy in the QtCreator that comes with the online installer under windows.
      Qt 5.9.6 installed along with the MinGW 5.3.0 of the online installer.

      Opened 2dpainting demo.

      Starting clang-tidy as shown in the inline video gave just errors in the application output (I tried to tidy only glwidget.cpp):

      23:45:54: Running Clang-Tidy and Clazy on C:\Qt_online\Examples\Qt-5.9.6\opengl\2dpainting\2dpainting.pro
      
      Analyzing "C:\Qt_online\Examples\Qt-5.9.6\opengl\2dpainting\glwidget.cpp".
      
      Failed to analyze "C:/Qt_online/Examples/Qt-5.9.6/opengl/2dpainting/glwidget.cpp": Clang-Tidy and Clazy finished with exit code: 1.
      
      Command line: C:\Qt_online\Tools\QtCreator\bin\clang\bin\clang.exe -fsyntax-only -serialize-diagnostics C:/Users/Michael/AppData/Local/Temp/QtCreator-VFMDXw/clangtools-XFUbrL/report-glwidget.cpp-zuhduP -Wno-unknown-pragmas -Wno-unknown-warning-option -Wno-documentation-unknown-command -m32 -target i686-w64-mingw32 -x c++ "-std=gnu++11" -fcxx-exceptions -fexceptions "-D__DBL_MIN_EXP__=(-1021)" "-D__cpp_attributes=200809" -D__pentiumpro__ "-D__UINT_LEAST16_MAX__=0xffff" "-D__ATOMIC_ACQUIRE=2" "-D__FLT_MIN__=1.17549435082228750797e-38F" "-D__GCC_IEC_559_COMPLEX=2" "-D__UINT_LEAST8_TYPE__=unsigned char" "-D__SIZEOF_FLOAT80__=12" -D_WIN32 "-D__INTMAX_C(c)=c ##LL" "-D__CHAR_BIT__=8" "-D__UINT8_MAX__=0xff" "-D__WINT_MAX__=0xffff" "-D__cpp_static_assert=200410" "-D__ORDER_LITTLE_ENDIAN__=1234" "-D__SIZE_MAX__=0xffffffffU" "-D__WCHAR_MAX__=0xffff" -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 "-D__DBL_DENORM_MIN__=double(4.94065645841246544177e-324L)" -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 "-D__GCC_ATOMIC_CHAR_LOCK_FREE=2" "-D__GCC_IEC_559=2" "-D__FLT_EVAL_METHOD__=2" "-D__cpp_binary_literals=201304" "-D__GCC_ATOMIC_CHAR32_T_LOCK_FREE=2" "-D__cpp_variadic_templates=200704" "-D__UINT_FAST64_MAX__=0xffffffffffffffffULL" "-D__SIG_ATOMIC_TYPE__=int" "-D__DBL_MIN_10_EXP__=(-307)" "-D__FINITE_MATH_ONLY__=0" "-D__GNUC_PATCHLEVEL__=0" "-D__UINT_FAST8_MAX__=0xff" "-D_stdcall=__attribute__((__stdcall__))" "-D__DEC64_MAX_EXP__=385" "-D__INT8_C(c)=c" "-D__UINT_LEAST64_MAX__=0xffffffffffffffffULL" "-D__SHRT_MAX__=0x7fff" "-D__LDBL_MAX__=1.18973149535723176502e+4932L" "-D__UINT_LEAST8_MAX__=0xff" "-D__GCC_ATOMIC_BOOL_LOCK_FREE=2" "-D__UINTMAX_TYPE__=long long unsigned int" "-D__DEC32_EPSILON__=1E-6DF" "-D__UINT32_MAX__=0xffffffffU" -D__GXX_EXPERIMENTAL_CXX0X__ "-D__LDBL_MAX_EXP__=16384" "-D__WINT_MIN__=0" "-D__SCHAR_MAX__=0x7f" "-D__WCHAR_MIN__=0" "-D__INT64_C(c)=c ##LL" "-D__DBL_DIG__=15" "-D__GCC_ATOMIC_POINTER_LOCK_FREE=2" "-D__SIZEOF_INT__=4" "-D__SIZEOF_POINTER__=4" "-D__GCC_ATOMIC_CHAR16_T_LOCK_FREE=2" "-D__USER_LABEL_PREFIX__=_" -D__STDC_HOSTED__ -D__WIN32 -D__LDBL_HAS_INFINITY__ "-D__FLT_EPSILON__=1.19209289550781250000e-7F" -D__GXX_WEAK__ "-D__LDBL_MIN__=3.36210314311209350626e-4932L" "-D__DEC32_MAX__=9.999999E96DF" -D__MINGW32__ "-D__INT32_MAX__=0x7fffffff" "-D__SIZEOF_LONG__=4" "-D__UINT16_C(c)=c" "-D__DECIMAL_DIG__=21" -D__LDBL_HAS_QUIET_NAN__ -D_REENTRANT "-D__GNUC__=5" "-D_cdecl=__attribute__((__cdecl__))" -D__GXX_RTTI "-D__cpp_delegating_constructors=200604" -D__FLT_HAS_DENORM__ "-D__SIZEOF_LONG_DOUBLE__=12" "-D__BIGGEST_ALIGNMENT__=16" -D__STDC_UTF_16__ -D__i686 "-D__DBL_MAX__=double(1.79769313486231570815e+308L)" "-D_thiscall=__attribute__((__thiscall__))" "-D__cpp_raw_strings=200710" "-D__INT_FAST32_MAX__=0x7fffffff" -D__WINNT -D__DBL_HAS_INFINITY__ "-D__INT64_MAX__=0x7fffffffffffffffLL" -D__WINNT__ "-D__DEC32_MIN_EXP__=(-94)" "-D__INT_FAST16_TYPE__=short int" "-D_fastcall=__attribute__((__fastcall__))" -D__LDBL_HAS_DENORM__ "-D__cplusplus=201103L" "-D__cpp_ref_qualifiers=200710" "-D__DEC128_MAX__=9.999999999999999999999999999999999E6144DL" "-D__INT_LEAST32_MAX__=0x7fffffff" "-D__DEC32_MIN__=1E-95DF" -D__DEPRECATED "-D__DBL_MAX_EXP__=1024" "-D__DEC128_EPSILON__=1E-33DL" "-D__ATOMIC_HLE_RELEASE=131072" -D__WIN32__ "-D__PTRDIFF_MAX__=0x7fffffff" "-D__ATOMIC_HLE_ACQUIRE=65536" "-D__GNUG__=5" "-D__LONG_LONG_MAX__=0x7fffffffffffffffLL" "-D__SIZEOF_SIZE_T__=4" "-D__cpp_rvalue_reference=200610" "-D__cpp_nsdmi=200809" "-D__SIZEOF_WINT_T__=2" "-D__cpp_initializer_lists=200806" -D__GCC_HAVE_DWARF2_CFI_ASM "-D__GXX_ABI_VERSION=1009" "-D__FLT_MIN_EXP__=(-125)" -D__i686__ "-D__cpp_lambdas=200907" "-D__INT_FAST64_TYPE__=long long int" "-D__DBL_MIN__=double(2.22507385850720138309e-308L)" "-D__FLT_MIN_10_EXP__=(-37)" -D__DECIMAL_BID_FORMAT__ "-D__GXX_TYPEINFO_EQUALITY_INLINE=0" "-D__DEC128_MIN__=1E-6143DL" "-D__REGISTER_PREFIX__=" "-D__UINT16_MAX__=0xffff" -D__DBL_HAS_DENORM__ "-D__cdecl=__attribute__((__cdecl__))" "-D__UINT8_TYPE__=unsigned char" -D__NO_INLINE__ -D__i386 "-D__FLT_MANT_DIG__=24" "-D__VERSION__="\^""5.3.0"\^""" "-D__UINT64_C(c)=c ##ULL" "-D__cpp_unicode_characters=200704" "-D__GCC_ATOMIC_INT_LOCK_FREE=2" -D_X86_ "-D__FLOAT_WORD_ORDER__=__ORDER_LITTLE_ENDIAN__" "-D__INT32_C(c)=c" "-D__DEC64_EPSILON__=1E-15DD" "-D__ORDER_PDP_ENDIAN__=3412" "-D__DEC128_MIN_EXP__=(-6142)" -D__code_model_32__ "-D__INT_FAST32_TYPE__=int" "-D__UINT_LEAST16_TYPE__=short unsigned int" "-D__INT16_MAX__=0x7fff" -D__i386__ "-D__cpp_rtti=199711" "-D__SIZE_TYPE__=unsigned int" "-D__UINT64_MAX__=0xffffffffffffffffULL" "-D__INT8_TYPE__=signed char" "-D__FLT_RADIX__=2" "-D__INT_LEAST16_TYPE__=short int" "-D__LDBL_EPSILON__=1.08420217248550443401e-19L" "-D__UINTMAX_C(c)=c ##ULL" "-D__SIG_ATOMIC_MAX__=0x7fffffff" "-D__GCC_ATOMIC_WCHAR_T_LOCK_FREE=2" "-D__SIZEOF_PTRDIFF_T__=4" "-D__DEC32_SUBNORMAL_MIN__=0.000001E-95DF" -D__pentiumpro -D__MSVCRT__ "-D__INT_FAST16_MAX__=0x7fff" "-D__UINT_FAST32_MAX__=0xffffffffU" "-D__UINT_LEAST64_TYPE__=long long unsigned int" -D__FLT_HAS_QUIET_NAN__ "-D__FLT_MAX_10_EXP__=38" "-D__LONG_MAX__=0x7fffffffL" "-D__DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL" -D__FLT_HAS_INFINITY__ "-D__cpp_unicode_literals=200710" "-D__UINT_FAST16_TYPE__=short unsigned int" "-D__DEC64_MAX__=9.999999999999999E384DD" "-D__CHAR16_TYPE__=short unsigned int" -D__PRAGMA_REDEFINE_EXTNAME "-D__INT_LEAST16_MAX__=0x7fff" "-D__DEC64_MANT_DIG__=16" "-D__UINT_LEAST32_MAX__=0xffffffffU" "-D__GCC_ATOMIC_LONG_LOCK_FREE=2" "-D__INT_LEAST64_TYPE__=long long int" "-D__INT16_TYPE__=short int" "-D__INT_LEAST8_TYPE__=signed char" "-D__DEC32_MAX_EXP__=97" "-D__INT_FAST8_MAX__=0x7f" "-D__INTPTR_MAX__=0x7fffffff" "-D__GXX_MERGED_TYPEINFO_NAMES=0" "-D__cpp_range_based_for=200907" "-D__stdcall=__attribute__((__stdcall__))" -D__EXCEPTIONS "-D__LDBL_MANT_DIG__=64" -D__DBL_HAS_QUIET_NAN__ "-D__SIG_ATOMIC_MIN__=(-__SIG_ATOMIC_MAX__ - 1)" "-D__INTPTR_TYPE__=int" "-D__UINT16_TYPE__=short unsigned int" "-D__WCHAR_TYPE__=short unsigned int" "-D__SIZEOF_FLOAT__=4" "-D__UINTPTR_MAX__=0xffffffffU" "-D__DEC64_MIN_EXP__=(-382)" "-D__cpp_decltype=200707" "-D__INT_FAST64_MAX__=0x7fffffffffffffffLL" -D__GCC_ATOMIC_TEST_AND_SET_TRUEVAL "-D__FLT_DIG__=6" "-D__UINT_FAST64_TYPE__=long long unsigned int" "-D__INT_MAX__=0x7fffffff" -DWIN32 "-D__INT64_TYPE__=long long int" "-D__FLT_MAX_EXP__=128" "-D__DBL_MANT_DIG__=53" "-D__cpp_inheriting_constructors=200802" "-D__SIZEOF_FLOAT128__=16" "-D__INT_LEAST64_MAX__=0x7fffffffffffffffLL" "-D__DEC64_MIN__=1E-383DD" "-D__WINT_TYPE__=short unsigned int" "-D__UINT_LEAST32_TYPE__=unsigned int" "-D__SIZEOF_SHORT__=2" "-D__LDBL_MIN_EXP__=(-16381)" "-D__INT_LEAST8_MAX__=0x7f" -D__WCHAR_UNSIGNED__ "-D__LDBL_MAX_10_EXP__=4932" "-D__ATOMIC_RELAXED=0" "-D__DBL_EPSILON__=double(2.22044604925031308085e-16L)" "-D__thiscall=__attribute__((__thiscall__))" "-D__UINT8_C(c)=c" "-D__INT_LEAST32_TYPE__=int" "-D__SIZEOF_WCHAR_T__=2" "-D__UINT64_TYPE__=long long unsigned int" "-D__INT_FAST8_TYPE__=signed char" "-D__fastcall=__attribute__((__fastcall__))" -D__GNUC_STDC_INLINE__ "-D__DBL_DECIMAL_DIG__=17" -D__STDC_UTF_32__ "-D__DEC_EVAL_METHOD__=2" "-D__ORDER_BIG_ENDIAN__=4321" "-D__cpp_runtime_arrays=198712" "-D__UINT32_C(c)=c ##U" "-D__INTMAX_MAX__=0x7fffffffffffffffLL" "-D__cpp_alias_templates=200704" "-D__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__" -DWINNT "-D__FLT_DENORM_MIN__=1.40129846432481707092e-45F" "-D__INT8_MAX__=0x7f" "-D__UINT_FAST32_TYPE__=unsigned int" "-D__CHAR32_TYPE__=unsigned int" "-D__FLT_MAX__=3.40282346638528859812e+38F" "-D__cpp_constexpr=200704" "-D__INT32_TYPE__=int" "-D__SIZEOF_DOUBLE__=8" "-D__cpp_exceptions=199711" "-D__INTMAX_TYPE__=long long int" -Di386 "-D_INTEGRAL_MAX_BITS=64" "-D__DEC128_MAX_EXP__=6145" -D__ATOMIC_CONSUME "-D__GNUC_MINOR__=3" "-D__UINTMAX_MAX__=0xffffffffffffffffULL" "-D__DEC32_MANT_DIG__=7" "-D__DBL_MAX_10_EXP__=308" "-D__LDBL_DENORM_MIN__=3.64519953188247460253e-4951L" "-D__INT16_C(c)=c" -D__STDC__ "-D__PTRDIFF_TYPE__=int" "-D__ATOMIC_SEQ_CST=5" "-D__UINT32_TYPE__=unsigned int" "-D__UINTPTR_TYPE__=unsigned int" "-D__DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD" "-D__DEC128_MANT_DIG__=34" "-D__LDBL_MIN_10_EXP__=(-4931)" "-D__SIZEOF_LONG_LONG__=8" "-D__cpp_user_defined_literals=200809" "-D__GCC_ATOMIC_LLONG_LOCK_FREE=2" "-D__LDBL_DIG__=18" "-D__FLT_DECIMAL_DIG__=9" "-D__UINT_FAST16_MAX__=0xffff" "-D__GCC_ATOMIC_SHORT_LOCK_FREE=2" "-D__UINT_FAST8_TYPE__=unsigned char" "-D__ATOMIC_ACQ_REL=4" "-D__ATOMIC_RELEASE=3" "-D__declspec(x)=__attribute__((x))" -DUNICODE -D_UNICODE -DWIN32 -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -nostdinc -nostdlibinc -undef -isystem C:\Qt_online\Tools\QtCreator\bin\clang\lib\clang\6.0.1\include -I C:\Qt_online\Examples\Qt-5.9.6\opengl\2dpainting -I C:\Qt_online\5.9.6\mingw53_32\include -I C:\Qt_online\5.9.6\mingw53_32\include\QtWidgets -I C:\Qt_online\5.9.6\mingw53_32\include\QtGui -I C:\Qt_online\5.9.6\mingw53_32\include\QtANGLE -I C:\Qt_online\5.9.6\mingw53_32\include\QtCore -I C:\Qt_online\Examples\Qt-5.9.6\opengl\build-2dpainting-Desktop_Qt_5_9_6_MinGW_32bit-Debug\debug -I C:\Qt_online\Examples\Qt-5.9.6\opengl\build-2dpainting-Desktop_Qt_5_9_6_MinGW_32bit-Debug -I C:\Qt_online\5.9.6\mingw53_32\mkspecs\win32-g++ -I C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include -I C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include-fixed -I C:\Qt_online\Tools\mingw530_32\i686-w64-mingw32\include -I C:\Qt_online\Tools\mingw530_32\i686-w64-mingw32\include\c++ -I C:\Qt_online\Tools\mingw530_32\i686-w64-mingw32\include\c++\i686-w64-mingw32 -I C:\Qt_online\Tools\mingw530_32\i686-w64-mingw32\include\c++\backward C:\Qt_online\Examples\Qt-5.9.6\opengl\2dpainting\glwidget.cpp
      
      Process Error: 5
      
      Output:
      
      In file included from C:\Qt_online\Examples\Qt-5.9.6\opengl\2dpainting\glwidget.cpp:51:
      
      In file included from C:\Qt_online\Examples\Qt-5.9.6\opengl\2dpainting/glwidget.h:54:
      
      In file included from C:\Qt_online\5.9.6\mingw53_32\include\QtWidgets\QOpenGLWidget:1:
      
      In file included from C:\Qt_online\5.9.6\mingw53_32\include\QtWidgets/qopenglwidget.h:43:
      
      In file included from C:\Qt_online\5.9.6\mingw53_32\include\QtWidgets/qtwidgetsglobal.h:43:
      
      In file included from C:\Qt_online\5.9.6\mingw53_32\include\QtGui/qtguiglobal.h:43:
      
      In file included from C:\Qt_online\5.9.6\mingw53_32\include\QtCore/qglobal.h:109:
      
      In file included from C:\Qt_online\Tools\mingw530_32\i686-w64-mingw32\include\c++\algorithm:62:
      
      In file included from C:\Qt_online\Tools\mingw530_32\i686-w64-mingw32\include\c++\bits/stl_algo.h:66:
      
      In file included from C:\Qt_online\Tools\mingw530_32\i686-w64-mingw32\include\c++\random:50:
      
      In file included from C:\Qt_online\Tools\mingw530_32\i686-w64-mingw32\include\c++\i686-w64-mingw32\bits/opt_random.h:33:
      
      In file included from C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\x86intrin.h:27:
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\ia32intrin.h:41:10: error: use of undeclared identifier '__builtin_ia32_bsrsi'
      
      return __builtin_ia32_bsrsi (__X);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\ia32intrin.h:104:1: error: definition of builtin function '__rdtsc'
      
      __rdtsc (void)
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\ia32intrin.h:122:10: error: use of undeclared identifier '__builtin_ia32_rolqi'
      
      return __builtin_ia32_rolqi (__X, __C);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\ia32intrin.h:130:10: error: use of undeclared identifier '__builtin_ia32_rolhi'; did you mean '__builtin_ia32_korhi'?
      
      return __builtin_ia32_rolhi (__X, __C);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\ia32intrin.h:41:10: note: '__builtin_ia32_korhi' declared here
      
      return __builtin_ia32_bsrsi (__X);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\ia32intrin.h:146:10: error: use of undeclared identifier '__builtin_ia32_rorqi'; did you mean '__builtin_ia32_korhi'?
      
      return __builtin_ia32_rorqi (__X, __C);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\ia32intrin.h:41:10: note: '__builtin_ia32_korhi' declared here
      
      return __builtin_ia32_bsrsi (__X);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\ia32intrin.h:154:10: error: use of undeclared identifier '__builtin_ia32_rorhi'; did you mean '__builtin_ia32_korhi'?
      
      return __builtin_ia32_rorhi (__X, __C);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\ia32intrin.h:41:10: note: '__builtin_ia32_korhi' declared here
      
      return __builtin_ia32_bsrsi (__X);
      
      ^
      
      In file included from C:\Qt_online\Examples\Qt-5.9.6\opengl\2dpainting\glwidget.cpp:51:
      
      In file included from C:\Qt_online\Examples\Qt-5.9.6\opengl\2dpainting/glwidget.h:54:
      
      In file included from C:\Qt_online\5.9.6\mingw53_32\include\QtWidgets\QOpenGLWidget:1:
      
      In file included from C:\Qt_online\5.9.6\mingw53_32\include\QtWidgets/qopenglwidget.h:43:
      
      In file included from C:\Qt_online\5.9.6\mingw53_32\include\QtWidgets/qtwidgetsglobal.h:43:
      
      In file included from C:\Qt_online\5.9.6\mingw53_32\include\QtGui/qtguiglobal.h:43:
      
      In file included from C:\Qt_online\5.9.6\mingw53_32\include\QtCore/qglobal.h:109:
      
      In file included from C:\Qt_online\Tools\mingw530_32\i686-w64-mingw32\include\c++\algorithm:62:
      
      In file included from C:\Qt_online\Tools\mingw530_32\i686-w64-mingw32\include\c++\bits/stl_algo.h:66:
      
      In file included from C:\Qt_online\Tools\mingw530_32\i686-w64-mingw32\include\c++\random:50:
      
      In file included from C:\Qt_online\Tools\mingw530_32\i686-w64-mingw32\include\c++\i686-w64-mingw32\bits/opt_random.h:33:
      
      In file included from C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\x86intrin.h:31:
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:131:19: error: use of undeclared identifier '__builtin_ia32_addss'
      
      return (__m128) __builtin_ia32_addss ((__v4sf)__A, (__v4sf)__B);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:137:19: error: use of undeclared identifier '__builtin_ia32_subss'
      
      return (__m128) __builtin_ia32_subss ((__v4sf)__A, (__v4sf)__B);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:143:19: error: use of undeclared identifier '__builtin_ia32_mulss'
      
      return (__m128) __builtin_ia32_mulss ((__v4sf)__A, (__v4sf)__B);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:149:19: error: use of undeclared identifier '__builtin_ia32_divss'; did you mean '__builtin_ia32_minss'?
      
      return (__m128) __builtin_ia32_divss ((__v4sf)__A, (__v4sf)__B);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:143:19: note: '__builtin_ia32_minss' declared here
      
      return (__m128) __builtin_ia32_mulss ((__v4sf)__A, (__v4sf)__B);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:243:10: error: use of undeclared identifier '__builtin_ia32_andps'; did you mean '__builtin_ia32_haddps'?
      
      return __builtin_ia32_andps (__A, __B);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:243:10: note: '__builtin_ia32_haddps' declared here
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:249:10: error: use of undeclared identifier '__builtin_ia32_andnps'
      
      return __builtin_ia32_andnps (__A, __B);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:255:10: error: use of undeclared identifier '__builtin_ia32_orps'
      
      return __builtin_ia32_orps (__A, __B);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:261:10: error: use of undeclared identifier '__builtin_ia32_xorps'
      
      return __builtin_ia32_xorps (__A, __B);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:289:19: error: use of undeclared identifier '__builtin_ia32_movss'
      
      return (__m128) __builtin_ia32_movss ((__v4sf) __A,
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:299:19: error: use of undeclared identifier '__builtin_ia32_movss'
      
      return (__m128) __builtin_ia32_movss ((__v4sf) __A,
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:327:19: error: use of undeclared identifier '__builtin_ia32_movss'
      
      return (__m128) __builtin_ia32_movss ((__v4sf) __A,
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:337:19: error: use of undeclared identifier '__builtin_ia32_movss'
      
      return (__m128) __builtin_ia32_movss ((__v4sf) __A,
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:381:19: error: use of undeclared identifier '__builtin_ia32_cmpgtps'; did you mean '__builtin_ia32_cmpltps'?
      
      return (__m128) __builtin_ia32_cmpgtps ((__v4sf)__A, (__v4sf)__B);
      
      ^
      
      C:\Qt_online\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include\xmmintrin.h:369:19: note: '__builtin_ia32_cmpltps' declared here
      
      return (__m128) __builtin_ia32_cmpltps ((__v4sf)__A, (__v4sf)__B);
      
      ^
      
      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      
      20 errors generated.
      
      23:45:57: Clang-Tidy and Clazy finished: Processed 0 files successfully, 1 failed.

      It seem that even though there is a

      -isystem C:\Qt_online\Tools\QtCreator\bin\clang\lib\clang\6.0.1\include

      it seem to look for the include files in MinGWs GCC 5.3.0

       

      What might I do wrong here?

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kosjar Nikolai Kosjar
              moellney Michael Möllney
              Votes:
              7 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes