Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /Users/aditya/scratch/jbson/test/builder_test.cpp:11:
- In file included from /Users/aditya/scratch/jbson/include/jbson/document.hpp:24:
- In file included from /Users/aditya/scratch/jbson/include/jbson/element.hpp:15:
- In file included from /opt/local/include/boost/range/algorithm.hpp:32:
- /opt/local/include/boost/range/detail/range_return.hpp:171:87: warning: unused parameter 'found' [-Wunused-parameter]
- static type pack(BOOST_DEDUCED_TYPENAME range_iterator<SinglePassRange>::type found,
- ^
- In file included from /Users/aditya/scratch/jbson/test/builder_test.cpp:11:
- In file included from /Users/aditya/scratch/jbson/include/jbson/document.hpp:24:
- In file included from /Users/aditya/scratch/jbson/include/jbson/element.hpp:15:
- In file included from /opt/local/include/boost/range/algorithm.hpp:81:
- /opt/local/include/boost/range/algorithm/unique.hpp:89:44: warning: unused parameter 'pred' [-Wunused-parameter]
- unique( ForwardRange& rng, BinaryPredicate pred )
- ^
- In file included from /Users/aditya/scratch/jbson/test/builder_test.cpp:11:
- In file included from /Users/aditya/scratch/jbson/include/jbson/document.hpp:21:
- In file included from /Users/aditya/scratch/jbson/include/jbson/document_fwd.hpp:14:
- In file included from /opt/local/include/boost/range/iterator_range.hpp:13:
- /opt/local/include/boost/range/iterator_range_core.hpp:58:24: error: calling a private constructor of class 'std::__1::__wrap_iter<const char *>'
- return static_cast<IteratorT>( boost::begin( r ) );
- ^
- /opt/local/include/boost/range/iterator_range_core.hpp:238:34: note: in instantiation of function template specialization 'boost::iterator_range_detail::iterator_range_impl<std::__1::__wrap_iter<const
- char *> >::adl_begin<const std::__1::array<char, 5> >' requested here
- m_Begin = impl::adl_begin( r );
- ^
- /Users/aditya/scratch/jbson/include/jbson/document.hpp:139:7: note: in instantiation of function template specialization 'boost::iterator_range<std::__1::__wrap_iter<const char *>
- >::operator=<std::__1::array<char, 5> >' requested here
- c = arr;
- ^
- /Users/aditya/scratch/jbson/include/jbson/document.hpp:212:32: note: in instantiation of function template specialization 'jbson::detail::init_empty<boost::iterator_range<std::__1::__wrap_iter<const char
- *> > >' requested here
- basic_document() { detail::init_empty(m_data); }
- ^
- /Users/aditya/scratch/jbson/test/builder_test.cpp:239:56: note: in instantiation of member function 'jbson::basic_document<boost::iterator_range<std::__1::__wrap_iter<const char *> >,
- boost::iterator_range<std::__1::__wrap_iter<const char *> > >::basic_document' requested here
- decltype(get<element_type::document_element>(*it)) doc;
- ^
- /opt/local/libexec/llvm-3.4/bin/../include/c++/v1/iterator:1220:31: note: declared private here
- _LIBCPP_INLINE_VISIBILITY __wrap_iter(iterator_type __x) _NOEXCEPT : __i(__x) {}
- ^
- In file included from /Users/aditya/scratch/jbson/test/builder_test.cpp:11:
- In file included from /Users/aditya/scratch/jbson/include/jbson/document.hpp:21:
- In file included from /Users/aditya/scratch/jbson/include/jbson/document_fwd.hpp:14:
- In file included from /opt/local/include/boost/range/iterator_range.hpp:13:
- /opt/local/include/boost/range/iterator_range_core.hpp:64:24: error: calling a private constructor of class 'std::__1::__wrap_iter<const char *>'
- return static_cast<IteratorT>( boost::end( r ) );
- ^
- /opt/local/include/boost/range/iterator_range_core.hpp:239:34: note: in instantiation of function template specialization 'boost::iterator_range_detail::iterator_range_impl<std::__1::__wrap_iter<const
- char *> >::adl_end<const std::__1::array<char, 5> >' requested here
- m_End = impl::adl_end( r );
- ^
- /Users/aditya/scratch/jbson/include/jbson/document.hpp:139:7: note: in instantiation of function template specialization 'boost::iterator_range<std::__1::__wrap_iter<const char *>
- >::operator=<std::__1::array<char, 5> >' requested here
- c = arr;
- ^
- /Users/aditya/scratch/jbson/include/jbson/document.hpp:212:32: note: in instantiation of function template specialization 'jbson::detail::init_empty<boost::iterator_range<std::__1::__wrap_iter<const char
- *> > >' requested here
- basic_document() { detail::init_empty(m_data); }
- ^
- /Users/aditya/scratch/jbson/test/builder_test.cpp:239:56: note: in instantiation of member function 'jbson::basic_document<boost::iterator_range<std::__1::__wrap_iter<const char *> >,
- boost::iterator_range<std::__1::__wrap_iter<const char *> > >::basic_document' requested here
- decltype(get<element_type::document_element>(*it)) doc;
- ^
- /opt/local/libexec/llvm-3.4/bin/../include/c++/v1/iterator:1220:31: note: declared private here
- _LIBCPP_INLINE_VISIBILITY __wrap_iter(iterator_type __x) _NOEXCEPT : __i(__x) {}
- ^
- 2 warnings and 2 errors generated.
- make[2]: *** [test/CMakeFiles/jbson_builder_test.dir/builder_test.cpp.o] Error 1
- make[1]: *** [test/CMakeFiles/jbson_builder_test.dir/all] Error 2
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement