In file included from libinterp/octave.cc:35: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iostream:38: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ios:216: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__locale:15: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:439: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:627: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:253:9: error: field has incomplete type 'const cdef_class' _T1 first; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:629:16: note: in instantiation of template class 'std::__1::pair > >' requested here value_type __cc; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tree:603:16: note: in instantiation of template class 'std::__1::__value_type > >' requested here value_type __value_; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tree:694:22: note: in instantiation of template class 'std::__1::__tree_node > >, void *>' requested here typedef typename __node::base __node_base; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:715:19: note: in instantiation of template class 'std::__1::__tree_const_iterator > >, std::__1::__tree_node > >, void *> *, long>' requested here _TreeIterator __i_; ^ ./libinterp/octave-value/ov-classdef.h:441:71: note: in instantiation of template class 'std::__1::__map_const_iterator > >, std::__1::__tree_node > >, void *> *, long> >' requested here void mark_as_constructed (const cdef_class& cls) { ctor_list.erase (cls); } ^ ./libinterp/octave-value/ov-classdef.h:36:7: note: forward declaration of 'cdef_class' class cdef_class; ^ In file included from libinterp/octave.cc:72: In file included from ./libinterp/octave-value/ov-range.h:41: In file included from ./libinterp/octave-value/ov-re-mat.h:38: ./libinterp/octave-value/ov-base-mat.h:95:8: warning: 'octave_base_matrix::assign' hides overloaded virtual function [-Woverloaded-virtual] void assign (const octave_value_list& idx, const MT& rhs); ^ ./libinterp/octave-value/ov-re-mat.h:51:24: note: in instantiation of template class 'octave_base_matrix' requested here octave_matrix : public octave_base_matrix ^ ./libinterp/octave-value/ov-base.h:278:16: note: hidden overloaded virtual function 'octave_base_value::assign' declared here: type mismatch at 1st parameter ('const std::string &' (aka 'const basic_string, allocator > &') vs 'const octave_value_list &') virtual void assign (const std::string&, const octave_value&) { } ^ In file included from libinterp/octave.cc:72: In file included from ./libinterp/octave-value/ov-range.h:41: In file included from ./libinterp/octave-value/ov-re-mat.h:38: ./libinterp/octave-value/ov-base-mat.h:97:8: warning: 'octave_base_matrix::assign' hides overloaded virtual function [-Woverloaded-virtual] void assign (const octave_value_list& idx, typename MT::element_type rhs); ^ ./libinterp/octave-value/ov-base.h:278:16: note: hidden overloaded virtual function 'octave_base_value::assign' declared here: type mismatch at 1st parameter ('const std::string &' (aka 'const basic_string, allocator > &') vs 'const octave_value_list &') virtual void assign (const std::string&, const octave_value&) { } ^ In file included from libinterp/octave.cc:42: In file included from ./liboctave/util/cmd-edit.h:28: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/set:387: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tree:1984:19: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node > >, void *> *') to '__node_base_pointer' (aka 'std::__1::__tree_node_base *') is not allowed static_cast<__node_base_pointer>(__np)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tree:2007:5: note: in instantiation of member function 'std::__1::__tree > >, std::__1::__map_value_compare > >, std::__1::less, true>, std::__1::allocator > > > >::erase' requested here erase(__i); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1077:25: note: in instantiation of function template specialization 'std::__1::__tree > >, std::__1::__map_value_compare > >, std::__1::less, true>, std::__1::allocator > > > >::__erase_unique' requested here {return __tree_.__erase_unique(__k);} ^ ./libinterp/octave-value/ov-classdef.h:441:64: note: in instantiation of member function 'std::__1::map >, std::__1::less, std::__1::allocator > > > >::erase' requested here void mark_as_constructed (const cdef_class& cls) { ctor_list.erase (cls); } ^ In file included from libinterp/octave.cc:42: In file included from ./liboctave/util/cmd-edit.h:28: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/set:387: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tree:656:59: error: static_cast from '__node_pointer' (aka 'std::__1::__tree_node > >, void *> *') to '__node_base_pointer' (aka 'std::__1::__tree_node_base *') is not allowed {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tree:1978:5: note: in instantiation of member function 'std::__1::__tree_iterator > >, std::__1::__tree_node > >, void *> *, long>::operator++' requested here ++__r; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tree:2007:5: note: in instantiation of member function 'std::__1::__tree > >, std::__1::__map_value_compare > >, std::__1::less, true>, std::__1::allocator > > > >::erase' requested here erase(__i); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1077:25: note: in instantiation of function template specialization 'std::__1::__tree > >, std::__1::__map_value_compare > >, std::__1::less, true>, std::__1::allocator > > > >::__erase_unique' requested here {return __tree_.__erase_unique(__k);} ^ ./libinterp/octave-value/ov-classdef.h:441:64: note: in instantiation of member function 'std::__1::map >, std::__1::less, std::__1::allocator > > > >::erase' requested here void mark_as_constructed (const cdef_class& cls) { ctor_list.erase (cls); } ^ In file included from libinterp/octave.cc:53: In file included from libinterp/corefcn/defun.h:30: In file included from libinterp/corefcn/defun-int.h:28: In file included from ./libinterp/octave-value/ov-builtin.h:28: In file included from ./libinterp/octave-value/ov-fcn.h:34: In file included from libinterp/corefcn/symtab.h:29: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:976:50: error: no viable conversion from 'const_iterator' (aka '__tree_const_iterator') to 'const_iterator' (aka '__map_const_iterator') const_iterator end() const _NOEXCEPT {return __tree_.end();} ^~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:885:37: note: in instantiation of member function 'std::__1::map >, std::__1::less, std::__1::allocator > > > >::end' requested here insert(__m.begin(), __m.end()); ^ ./libinterp/octave-value/ov-classdef.h:455:46: note: in instantiation of member function 'std::__1::map >, std::__1::less, std::__1::allocator > > > >::map' requested here : cdef_object_base (obj), map (obj.map), ctor_list (obj.ctor_list) { } ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:713:29: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const_iterator' (aka '__tree_const_iterator') to 'const std::__1::__map_const_iterator > >, std::__1::__tree_node > >, void *> *, long> > &' for 1st argument class _LIBCPP_TYPE_VIS_ONLY __map_const_iterator ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:739:5: note: candidate constructor not viable: no known conversion from 'const_iterator' (aka '__tree_const_iterator') to '__map_iterator > >, __tree_node<__value_type > >, void *> *, long>::__non_const_iterator>' for 1st argument __map_const_iterator( ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:993:51: error: member function 'end' not viable: 'this' argument has type 'const std::__1::map >, std::__1::less, std::__1::allocator > > > >', but function is not marked const const_iterator cend() const _NOEXCEPT {return end();} ^~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1061:39: note: in instantiation of member function 'std::__1::map >, std::__1::less, std::__1::allocator > > > >::cend' requested here for (const_iterator __e = cend(); __f != __l; ++__f) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:885:13: note: in instantiation of function template specialization 'std::__1::map >, std::__1::less, std::__1::allocator > > > >::insert > >, std::__1::__tree_node > >, void *> *, long> > >' requested here insert(__m.begin(), __m.end()); ^ ./libinterp/octave-value/ov-classdef.h:455:46: note: in instantiation of member function 'std::__1::map >, std::__1::less, std::__1::allocator > > > >::map' requested here : cdef_object_base (obj), map (obj.map), ctor_list (obj.ctor_list) { } ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:974:20: note: 'end' declared here iterator end() _NOEXCEPT {return __tree_.end();} ^ 2 warnings and 5 errors generated. Makefile:17303: recipe for target 'libinterp/libinterp_liboctinterp_la-octave.lo' failed