diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-04-02 15:51:18 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-04-02 15:51:18 +0000 |
commit | 1a5396aa84586461ffe07ae43e599bf385673698 (patch) | |
tree | e67e6bdd9a2fc215c6b6cafca8eee1b0978fca24 /net/openntpd/files/patch-src_server.c | |
parent | Update to 1.2.0 (diff) |
During the exp-run in bug 208158, it was found that www/node gives
errors with libc++ 3.8.0 [1]:
/usr/include/c++/v1/map:837:5: error: static_assert failed "Allocator::value_type must be same type as value_type"
static_assert((is_same<typename allocator_type::value_type, value_type>::value),
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/v8/src/compiler/js-type-feedback.h:41:21: note: in instantiation of template class 'std::__1::map<unsigned int, v8::internal::TypeFeedbackId, std::__1::less<unsigned int>, v8::internal::zone_allocator<v8::internal::TypeFeedbackId> >' requested here
TypeFeedbackIdMap type_feedback_id_map_;
^
This is because libc++ 3.8.0 has added these sanity checks for custom
std::map allocators, which *must* be of the type std::pair<const Key,
Value>. I fixed the few std::map instances in the node source by adding
this to their allocator types.
Approved by: linpct@gmail.com (maintainer)
PR: 208270
MFH: 2016Q2
Diffstat (limited to 'net/openntpd/files/patch-src_server.c')
0 files changed, 0 insertions, 0 deletions