Bug#808086: "error: 'basic_string<_CharT, _Traits, _Allocator>' is missing exception specification"

Max Kellermann max at duempel.org
Tue Dec 15 21:15:35 UTC 2015

Package: libc++-dev
Version: 3.7.0-1

The most recent libc++ version fails to compile with clang 3.8
(clang-3.8 1:3.8~svn254193-1):

$ echo '#include <string>' |schroot -c experimental -- clang-3.8 -c -std=c++11 -stdlib=libc++ -x c++ -
In file included from <stdin>:1:
/usr/include/c++/v1/string:1938:44: error: 'basic_string<_CharT, _Traits, _Allocator>' is missing exception specification
basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
/usr/include/c++/v1/string:1326:40: note: previous declaration is here
    _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
1 error generated.

More information about the Pkg-llvm-team mailing list