octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58953] Error with 'end' in index expression w


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls
Date: Wed, 23 Sep 2020 08:12:37 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 Edg/85.0.564.51

Follow-up Comment #57, bug #58953 (project octave):

clang issues a warning during compilation. It is probably unrelated. But
nevertheless:

In file included from ../src/libinterp/corefcn/interpreter.cc:36:
In file included from ../src/liboctave/util/cmd-edit.h:36:
In file included from ../src/liboctave/util/str-vec.h:35:
In file included from ../src/liboctave/array/Array.h:39:
In file included from ../src/liboctave/array/idx-vector.h:36:
In file included from
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/memory:84:
In file included from
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/shared_ptr.h:52:
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/shared_ptr_base.h:632:8:
warning: delete called on non-final 'octave::push_parser' that has virtual
functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
              delete __p;
              ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/shared_ptr_base.h:639:4:
note: in instantiation of function template specialization
'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<octave::push_parser
*>' requested here
        : __shared_count(__p)
          ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/shared_ptr_base.h:1128:17:
note: in instantiation of function template specialization
'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<octave::push_parser
*>' requested here
        : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
                       ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/shared_ptr.h:159:25:
note: in instantiation of function template specialization
'std::__shared_ptr<octave::base_parser,
__gnu_cxx::_S_atomic>::__shared_ptr<octave::push_parser, void>' requested
here
        shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
                               ^
../src/libinterp/corefcn/interpreter.cc:1239:27: note: in instantiation of
function template specialization
'std::shared_ptr<octave::base_parser>::shared_ptr<octave::push_parser, void>'
requested here
            repl_parser = std::shared_ptr<base_parser> (pp);
                          ^



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58953>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]