Advertisement
Guest User

Untitled

a guest
Aug 1st, 2014
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 5.49 KB | None | 0 0
  1. In file included from /Users/aditya/scratch/jbson/test/builder_test.cpp:11:
  2. In file included from /Users/aditya/scratch/jbson/include/jbson/document.hpp:24:
  3. In file included from /Users/aditya/scratch/jbson/include/jbson/element.hpp:15:
  4. In file included from /opt/local/include/boost/range/algorithm.hpp:32:
  5. /opt/local/include/boost/range/detail/range_return.hpp:171:87: warning: unused parameter 'found' [-Wunused-parameter]
  6.         static type pack(BOOST_DEDUCED_TYPENAME range_iterator<SinglePassRange>::type found,
  7.                                                                                       ^
  8. In file included from /Users/aditya/scratch/jbson/test/builder_test.cpp:11:
  9. In file included from /Users/aditya/scratch/jbson/include/jbson/document.hpp:24:
  10. In file included from /Users/aditya/scratch/jbson/include/jbson/element.hpp:15:
  11. In file included from /opt/local/include/boost/range/algorithm.hpp:81:
  12. /opt/local/include/boost/range/algorithm/unique.hpp:89:44: warning: unused parameter 'pred' [-Wunused-parameter]
  13. unique( ForwardRange& rng, BinaryPredicate pred )
  14.                                            ^
  15. In file included from /Users/aditya/scratch/jbson/test/builder_test.cpp:11:
  16. In file included from /Users/aditya/scratch/jbson/include/jbson/document.hpp:21:
  17. In file included from /Users/aditya/scratch/jbson/include/jbson/document_fwd.hpp:14:
  18. In file included from /opt/local/include/boost/range/iterator_range.hpp:13:
  19. /opt/local/include/boost/range/iterator_range_core.hpp:58:24: error: calling a private constructor of class 'std::__1::__wrap_iter<const char *>'
  20.                 return static_cast<IteratorT>( boost::begin( r ) );
  21.                        ^
  22. /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
  23.      char *> >::adl_begin<const std::__1::array<char, 5> >' requested here
  24.                 m_Begin  = impl::adl_begin( r );
  25.                                  ^
  26. /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 *>
  27.      >::operator=<std::__1::array<char, 5> >' requested here
  28.     c = arr;
  29.       ^
  30. /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
  31.      *> > >' requested here
  32.     basic_document() { detail::init_empty(m_data); }
  33.                                ^
  34. /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 *> >,
  35.      boost::iterator_range<std::__1::__wrap_iter<const char *> > >::basic_document' requested here
  36.     decltype(get<element_type::document_element>(*it)) doc;
  37.                                                        ^
  38. /opt/local/libexec/llvm-3.4/bin/../include/c++/v1/iterator:1220:31: note: declared private here
  39.     _LIBCPP_INLINE_VISIBILITY __wrap_iter(iterator_type __x) _NOEXCEPT : __i(__x) {}
  40.                               ^
  41. In file included from /Users/aditya/scratch/jbson/test/builder_test.cpp:11:
  42. In file included from /Users/aditya/scratch/jbson/include/jbson/document.hpp:21:
  43. In file included from /Users/aditya/scratch/jbson/include/jbson/document_fwd.hpp:14:
  44. In file included from /opt/local/include/boost/range/iterator_range.hpp:13:
  45. /opt/local/include/boost/range/iterator_range_core.hpp:64:24: error: calling a private constructor of class 'std::__1::__wrap_iter<const char *>'
  46.                 return static_cast<IteratorT>( boost::end( r ) );
  47.                        ^
  48. /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
  49.      char *> >::adl_end<const std::__1::array<char, 5> >' requested here
  50.                 m_End    = impl::adl_end( r );
  51.                                  ^
  52. /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 *>
  53.      >::operator=<std::__1::array<char, 5> >' requested here
  54.     c = arr;
  55.       ^
  56. /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
  57.      *> > >' requested here
  58.     basic_document() { detail::init_empty(m_data); }
  59.                                ^
  60. /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 *> >,
  61.      boost::iterator_range<std::__1::__wrap_iter<const char *> > >::basic_document' requested here
  62.     decltype(get<element_type::document_element>(*it)) doc;
  63.                                                        ^
  64. /opt/local/libexec/llvm-3.4/bin/../include/c++/v1/iterator:1220:31: note: declared private here
  65.     _LIBCPP_INLINE_VISIBILITY __wrap_iter(iterator_type __x) _NOEXCEPT : __i(__x) {}
  66.                               ^
  67. 2 warnings and 2 errors generated.
  68. make[2]: *** [test/CMakeFiles/jbson_builder_test.dir/builder_test.cpp.o] Error 1
  69. make[1]: *** [test/CMakeFiles/jbson_builder_test.dir/all] Error 2
  70. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement