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

Reply via email to