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

clang-tidy report fatal error: 'endian.h' file not found when add QMAKE_CXXFLAGS += -fopenmp to xxx.pro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 8.0.0-beta2
    • Qt Creator 4.7.2, Qt Creator 4.8.0, Qt Creator 4.8.1, Qt Creator 4.8.2, Qt Creator 4.9.0-beta1
    • None
    • 1.macOS Mojave
      2.Xcode10
    • macOS
    • fd47b37298 (qt-creator/qt-creator/8.0) fd47b37298 (qt-creator/qt-creator/master) fd47b37298 (qt-creator/tqtc-qt-creator/8.0)

    Description

      when add QMAKE_CXXFLAGS += -fopenmp to my Qt project file qt_omp_test.pro, the clang tidy will report fatal error: 'endian.h'

      Please refer to the attachment qt project for more information.

      Attachments

        Activity

          People

            kandeler Christian Kandeler
            dengxu deng xu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: