Date: Thu, 07 Apr 2016 21:59:54 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208621] devel/libhoard: Fix build with libc++ 3.8.0 Message-ID: <bug-208621-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208621 Bug ID: 208621 Summary: devel/libhoard: Fix build with libc++ 3.8.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: uffe@uffe.org Flags: maintainer-feedback?(uffe@uffe.org) CC: uffe@uffe.org Created attachment 169093 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D169093&action= =3Dedit Fix std::map declaration in devel/libhoard During the exp-run in bug 208158, it was found that devel/libhoard gives er= rors with libc++ 3.8.0 [1]: In file included from Heap-Layers/heaps/./debug/sanitycheckheap.h:13: /usr/include/c++/v1/map:837:5: error: implicit instantiation of undefined template '__static_assert_test<false>' static_assert((is_same<typename allocator_type::value_type, value_type>::value), ^ /usr/include/c++/v1/__config:632:35: note: expanded from macro 'static_asse= rt' typedef __static_assert_check<sizeof(__static_assert_test<(__b)>)> \ ^ Heap-Layers/heaps/./debug/sanitycheckheap.h:110:13: note: in instantiation = of template class 'std::__1::map<void *, unsigned long, std::__1::less<void *>, HL::STLAllocator<std::__1::pair<const void *, unsigned long>, HL::FreelistHeap<HL::ZoneHeap<HL::MmapHeap, 16384> > > >' requested here mapType allocatedObjects; ^ This is because the std::map's allocator is not defined correctly. Fix thi= s by correcting the 'objType' definition to use a const pointer (e.g. not a poin= ter to const). [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_= 18h30m05s/logs/errors/libhoard-3.10.log --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208621-13>