Qt 创建者:"Warning: The code model could not parse an included file..."
Qt creator: "Warning: The code model could not parse an included file..."
我已将 Qt Creator 更新到最新版本 (4.7.0),现在打开我的项目时出现此警告:
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:
这是一个错误吗?请问如何解决?我在 Ubuntu 16.04。
非常感谢您!
http://blog.qt.io/blog/2018/07/18/qt-creator-4-7-0-released/ 声明 clang 代码模型默认处于打开状态。该警告由 Clang 代码模型插件抛出。您可以禁用它或尝试更早的 qt creators,例如 4.6.2
我已将 Qt Creator 更新到最新版本 (4.7.0),现在打开我的项目时出现此警告:
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:
这是一个错误吗?请问如何解决?我在 Ubuntu 16.04。 非常感谢您!
http://blog.qt.io/blog/2018/07/18/qt-creator-4-7-0-released/ 声明 clang 代码模型默认处于打开状态。该警告由 Clang 代码模型插件抛出。您可以禁用它或尝试更早的 qt creators,例如 4.6.2