当工程中使用omp时,clang-tidy report 会报错如下,有没解决办法?
Unsolved
Chinese
-
使用版本4.7 4.8 以及最新版本,macOS下面。
错误日志如下附上 bug链接:https://bugreports.qt.io/browse/QTCREATORBUG-21591
,把Vote +1 。In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:37: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:51:2: error: Unknown object file format #error Unknown object file format ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:292:11: fatal error: 'endian.h' file not found include <endian.h> ^~~~~~~~~~