[cfe-dev] 'scan-build ./configure' hang

Maarten Hoes via cfe-dev cfe-dev at lists.llvm.org
Wed Nov 11 13:46:01 PST 2015


>
> I think you ought to be running scan-build on the resulting makefiles,
not on configure itself (unless you intend to analyze the code that
configure uses to feature-test the compiler).
>
>
> It is sometimes important to run scan-build on ./configure as well
because configure often generates Makefiles that have paths that are
hard-wired to the compiler, which scan-build interposes. There are more
details about this at <
http://clang-analyzer.llvm.org/scan-build.html#recommended_autoconf>.
>
> Devin

Ah. Thanks for that. I thought I was losing it there for a second.
;)

- Maarten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151111/72663b7c/attachment.html>


More information about the cfe-dev mailing list