[arch-general] libc++ is outdated (3.7.x) and incompatible with actual clang 3.8.x
libc++ is outdated (3.7.1 flagged out-of-date on 2016-03-28) and
incompatible with actual clang 3.8
If you try to compile simple program which use std::string with clang and
libc++ you will get an error:
[root@707cd1f92063 /]# cat test.cpp
#include <string>
int main()
{
std::string a;
}
[root@707cd1f92063 /]# clang++ -std=c++11 -stdlib=libc++ -lc++abi test.cpp
-o test && ./test
In file included from test.cpp:1:
/usr/bin/../include/c++/v1/string:1938:44: error: 'basic_string<_CharT,
_Traits, _Allocator>' is missing exception specification
'noexcept(is_nothrow_copy_constructible
participants (1)
-
Константин Плотников