<div dir="ltr"><div>This question is related little to scan-build. scan-build calls clang, so if you know how to compile your code with clang and use gcc specific header files, then you got the answer... You shall know, there are compiler specific header files, which you won't be able to interchange between compilers. Please be more specific with your question which header files you wish to be used. And also, in order to get help, you need to tell more about your setup. (what os? what version of gcc? which clang version? how clang got compiled? etc..)<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 20, 2017 at 6:19 PM, 逆水x轻风 via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">With --use-c=gcc and --use-analyzer=clang when run "scan-build" it will use include<...> of clang , but we need include<...> of gcc. How can I define the default include path of gcc when I run "scan-build --use-c=gcc --use-analyzer=clang make" ?<br>______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>