I have updated Qt Creator to the latest version (4.7.0) and now I have this warning when opening my projects:
Warning: The code model could not parse an included file, which might lead to slow or incorrect code completion and highlighting, for example
xmmintrin.h:818:1: error: definition of builtin function '_mm_getcsr'
emmintrin.h:1:1: note: in file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/emmintrin.h:1:
emmintrin.h:31:10: note: in file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/emmintrin.h:31:
Is this a bug and how to fix this please? I'm on Ubuntu 16.04. Thank you very much in advance!
http://blog.qt.io/blog/2018/07/18/qt-creator-4-7-0-released/ states that clang code model is on by default. The warning is thrown by the Clang code model plugin. You can disable it or try earlier qt creators such as 4.6.2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With