<div dir="ltr">Package: clang<div>Version: 1:3.5-26</div><div><br></div><div>An update to the "clang" package in the last month breaks clang++ when using -std=gnu++1y and -g. The following error begins to appear all over:</div><div><br></div><div><div>error: debug information for auto is not yet supported</div></div><div><br></div><div>Unfortunately, the error has no line number, making it hard to narrow down the cause. Certainly many uses of "auto" work just fine. I attempted a binary search commenting out code, but this didn't seem to help: it seemed that any one instance of the error is caused by many different lines in the code.</div><div><br></div><div>You can observe the problem by attempting to compile Cap'n Proto from source code (<a href="https://capnproto.org/capnproto-c++-0.5.3.tar.gz">https://capnproto.org/capnproto-c++-0.5.3.tar.gz</a>) with the following configure invocation:</div><div><br></div><div>    ./configure CXX=clang++ CXXFLAGS='-std=gnu++1y -g'<br></div><div><br></div><div>The error only occurs in C++14 mode (e.g. -std=gnu++1y or -std=c++14), not in C++11 mode. The code compiles successfully in C++11 mode.</div><div><br></div><div>The problem is not present in clang-3.6 nor clang-3.7 packages, only in clang and clang-3.5.</div></div>