With Qt Creator 4.6, when I run static analysis on a project I'm getting a lot of these failures:
Failed to analyze "/Users/maloney/dev/foo/bar.cpp": Clang Static Analyzer finished with exit code: 1. Command line: <huge command line> Process Error: 5 Output: clang-5.0: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument] In file included from /Users/maloney/dev/foo/bar.cpp:5: In file included from /Users/maloney/dev/Trolltech/Qt-Release/Qt Creator.app/Contents/Resources/clang/lib/clang/5.0.1/include/float.h:45: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/float.h:69:15: fatal error: 'float.h' file not found #include_next <float.h> ^~~~~~~~~ (If <huge command line> is of interest I can attach it.) Is the include from Qt Creator.app supposed to be finding the include within the Xcode.app? --- Andy Maloney // https://asmaloney.com twitter ~ @asmaloney <https://twitter.com/asmaloney>
_______________________________________________ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator