[cfe-dev] Problem when using scan-build

Laszlo Nagy via cfe-dev cfe-dev at lists.llvm.org
Mon Feb 20 02:04:49 PST 2017


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..)

On Mon, Feb 20, 2017 at 6:19 PM, 逆水x轻风 via cfe-dev <cfe-dev at lists.llvm.org>
wrote:

> 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" ?
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170220/ab7f8b45/attachment.html>


More information about the cfe-dev mailing list