Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. 当工程中使用omp时,clang-tidy report 会报错如下,有没解决办法?

当工程中使用omp时,clang-tidy report 会报错如下,有没解决办法?

Scheduled Pinned Locked Moved Unsolved Chinese
1 Posts 1 Posters 722 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dengxu
    wrote on last edited by Dengxu
    #1

    使用版本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>
    ^~~~~~~~~~
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved