2017-11-03 18:07 GMT+01:00 Nikolai Kosjar <[email protected]>: > > There is not much configuration for the clang static analyzer. > > Please create a bug report with: > * used versions of Qt Creator and configured clang version for the analyzer > * whether this already happens with a "normal" toolchain. If not, please > provide some information how to set up your used toolchain. > > Thanks, > Nikolai
Done: https://bugreports.qt.io/browse/QTCREATORBUG-19220 2017-11-03 23:29 GMT+01:00 Christian Gagneraud <[email protected]>: > Are you trying to substitute a gcc cross-compiler with a native clang > compiler? > > Have you tried to use gcc's -isysroot that point to the tooolchain > installation prefix? > > There's as well a few clang-static-analyser and/or scan-build options > such as --analyzer-target --triplet, ... > I don't have the recipe at hand, but AFAIR you need to tell clang that > this is cross compiled. > > Chris I am trying to use the clang.exe that is installed with Qt Creator by using the Static Analyzer function of Qt Creator. I have no direct control of the command line that is used to invoke clang. All I can do is configure Qt Creator to use my gcc toolchain and change my project file. But clang seems to handle it properly, if you exclude the header issue. _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
