Bug#800483: Regression: spurious error "debug information for auto is not yet supported" in C++14 mode

Kenton Varda kenton at sandstorm.io
Wed Sep 30 01:59:55 UTC 2015


Package: clang
Version: 1:3.5-26

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:

error: debug information for auto is not yet supported

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.

You can observe the problem by attempting to compile Cap'n Proto from
source code (https://capnproto.org/capnproto-c++-0.5.3.tar.gz) with the
following configure invocation:

    ./configure CXX=clang++ CXXFLAGS='-std=gnu++1y -g'

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.

The problem is not present in clang-3.6 nor clang-3.7 packages, only in
clang and clang-3.5.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20150929/b036323d/attachment.html>


More information about the Pkg-llvm-team mailing list