configure:15926: checking for C++11 support configure:15940: clang++ -c -march=atom -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -std=c++11 -g -DDEBUG conftest.cpp >&5 In file included from conftest.cpp:28: In file included from /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/functional:55: /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:206:41: error: '_Tp' does not refer to a value = typename conditional<__is_final(_Tp), false_type, is_empty<_Tp>>::type; ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:204:21: note: declared here template ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:216:39: error: use of undeclared identifier '__empty_not_final' private _Head_base<_Idx, _Head, __empty_not_final<_Head>::value> ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:216:57: error: '_Head' does not refer to a value private _Head_base<_Idx, _Head, __empty_not_final<_Head>::value> ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:213:39: note: declared here template ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:216:63: error: expected class name private _Head_base<_Idx, _Head, __empty_not_final<_Head>::value> ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:221:39: error: use of undeclared identifier '__empty_not_final' typedef _Head_base<_Idx, _Head, __empty_not_final<_Head>::value> _Base; ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:221:57: error: '_Head' does not refer to a value typedef _Head_base<_Idx, _Head, __empty_not_final<_Head>::value> _Base; ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:213:39: note: declared here template ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:221:65: error: definition or redeclaration of 'value' cannot name the global scope typedef _Head_base<_Idx, _Head, __empty_not_final<_Head>::value> _Base; ~~^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:221:65: error: typedef declarator cannot be qualified typedef _Head_base<_Idx, _Head, __empty_not_final<_Head>::value> _Base; ~~^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:221:70: error: expected ';' at end of declaration list typedef _Head_base<_Idx, _Head, __empty_not_final<_Head>::value> _Base; ^ ; /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:224:51: error: use of undeclared identifier '_Base' _M_head(_Tuple_impl& __t) noexcept { return _Base::_M_head(__t); } ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:224:7: error: no return statement in constexpr function _M_head(_Tuple_impl& __t) noexcept { return _Base::_M_head(__t); } ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:227:57: error: use of undeclared identifier '_Base' _M_head(const _Tuple_impl& __t) noexcept { return _Base::_M_head(__t); } ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:227:7: error: no return statement in constexpr function _M_head(const _Tuple_impl& __t) noexcept { return _Base::_M_head(__t); } ^ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:236:23: error: member initializer '_Base' does not name a non-static data member or base class : _Inherited(), _Base() { } ^~~~~~~ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:240:32: error: member initializer '_Base' does not name a non-static data member or base class : _Inherited(__tail...), _Base(__head) { } ^~~~~~~~~~~~~ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:247:4: error: member initializer '_Base' does not name a non-static data member or base class _Base(std::forward<_UHead>(__head)) { } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:256:2: error: member initializer '_Base' does not name a non-static data member or base class _Base(std::forward<_Head>(_M_head(__in))) { } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:261:4: error: member initializer '_Base' does not name a non-static data member or base class _Base(_Tuple_impl<_Idx, _UElements...>::_M_head(__in)) { } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/tuple:267:4: error: member initializer '_Base' does not name a non-static data member or base class _Base(std::forward<_UHead> ^~~~~~~~~~~~~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. configure:15940: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent" | #define PACKAGE_TARNAME "libtorrent" | #define PACKAGE_VERSION "0.13.1" | #define PACKAGE_STRING "libtorrent 0.13.1" | #define PACKAGE_BUGREPORT "jaris@ifi.uio.no" | #define PACKAGE_URL "" | #define PEER_NAME "-lt0D10-" | #define PEER_VERSION "lt\x0D\x10" | #define PACKAGE "libtorrent" | #define VERSION "0.13.1" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define IS_LITTLE_ENDIAN 1 | #define USE_ALIGNED 1 | /* end confdefs.h. */ | | #include | #include | class Foo; | typedef std::unordered_map Bar; | | union test { Bar b1; }; | configure:15950: result: no