Bug#855222: clang-4.0 has wrong C++ include search path order
Sylvestre Ledru
Sylvestre at debian.org
Wed Feb 15 20:22:48 UTC 2017
This is probably the correct fix. Thanks :)
Le 15 février 2017 21:06:12 GMT+01:00, Jason Rhinelander <rhinelaj at econ.queensu.ca> a écrit :
>A quick follow-up and potential solution:
>
>I rebuilt the package with debian/patches/fix-clang-path-and-build.diff
>
>changed to move the added `addSystemInclude(...)` call to just *after*
>adding the c++ library include paths, instead of before it, which
>results in a working include path order:
>
>$ clang++-4.0 -v -E -x c++ -stdlib=libc++ -
>clang version 4.0.0-+rc2-1.1 (tags/RELEASE_400/rc1)
>...
>#include "..." search starts here:
>#include <...> search starts here:
> /usr/include/c++/v1
> /usr/include/clang/4.0.0/include
> /usr/local/include
> /usr/include/x86_64-linux-gnu
> /usr/include
>End of search list.
>
>
>I'm not sure if that causes other problems, but it looks like a fix.
>
>
>Jason Rhinelander
>
>_______________________________________________
>Pkg-llvm-team mailing list
>Pkg-llvm-team at lists.alioth.debian.org
>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-llvm-team
--
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20170215/fd7ed98f/attachment.html>
More information about the Pkg-llvm-team
mailing list