Bug#855222: clang-4.0 has wrong C++ include search path order

2017-02-15 Thread Sylvestre Ledru
This is probably the correct fix. Thanks :) Le 15 février 2017 21:06:12 GMT+01:00, Jason Rhinelander 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

Bug#855222: clang-4.0 has wrong C++ include search path order

2017-02-15 Thread Jason Rhinelander
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:

Bug#855222: clang-4.0 has wrong C++ include search path order

2017-02-15 Thread Jason Rhinelander
Package: clang-4.0 Version: 1:4.0~+rc2-1 Severity: normal Dear Maintainer, clang-4.0 appears to have a search path order for includes that causes problems with compilation with libc++ when trying to load stl headers; here's an example that fails: $ cat test.cpp #include int main() { return 0; }