octave-maintainers
[Top][All Lists]
Advanced

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

dasrt.cc:509:35: error: call to member function 'vector_value' is ambigu


From: Ben Abbott
Subject: dasrt.cc:509:35: error: call to member function 'vector_value' is ambiguous
Date: Fri, 06 Nov 2015 20:09:23 -0500

John,

I’m seeing the error below. Maybe another MacOS feature?

Ben

  CXX      libinterp/corefcn/libinterp_corefcn_libcorefcn_la-dasrt.lo
In file included from libinterp/corefcn/dasrt.cc:38:
In file included from ./libinterp/octave-value/ov-cell.h:38:
./libinterp/octave-value/ov-base-mat.h:95:8: warning: 
'octave_base_matrix<Cell>::assign' hides overloaded virtual function 
[-Woverloaded-virtual]
  void assign (const octave_value_list& idx, const MT& rhs);
       ^
./libinterp/octave-value/ov-cell.h:48:22: note: in instantiation of template 
class 'octave_base_matrix<Cell>' requested here
octave_cell : public octave_base_matrix<Cell>
                     ^
./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<char, char_traits<char>, allocator<char> > &') 
vs 'const octave_value_list &')
  virtual void assign (const std::string&, const octave_value&) { }
               ^
In file included from libinterp/corefcn/dasrt.cc:38:
In file included from ./libinterp/octave-value/ov-cell.h:38:
./libinterp/octave-value/ov-base-mat.h:97:8: warning: 
'octave_base_matrix<Cell>::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<char, char_traits<char>, allocator<char> > &') 
vs 'const octave_value_list &')
  virtual void assign (const std::string&, const octave_value&) { }
               ^
libinterp/corefcn/dasrt.cc:509:35: error: call to member function 
'vector_value' is ambiguous
  ColumnVector state = args(argp).vector_value ("expecting state vector as 
argument %d", ++argp);
                       ~~~~~~~~~~~^~~~~~~~~~~~
./libinterp/octave-value/ov.h:1008:17: note: candidate function
  Array<double> vector_value (bool frc_str_conv = false,
                ^
./libinterp/octave-value/ov.h:1011:17: note: candidate function
  Array<double> vector_value (const char *fmt, ...) const;
                ^
libinterp/corefcn/dasrt.cc:511:40: error: call to member function 
'vector_value' is ambiguous
  ColumnVector stateprime = args(argp).vector_value ("expecting time derivative 
of state vector as argument %d", argp);
                            ~~~~~~~~~~~^~~~~~~~~~~~
./libinterp/octave-value/ov.h:1008:17: note: candidate function
  Array<double> vector_value (bool frc_str_conv = false,
                ^
./libinterp/octave-value/ov.h:1011:17: note: candidate function
  Array<double> vector_value (const char *fmt, ...) const;
                ^
libinterp/corefcn/dasrt.cc:514:39: error: call to member function 
'vector_value' is ambiguous
  ColumnVector out_times = args(argp).vector_value ("expecting output time 
vector as %s argument %d", argp);
                           ~~~~~~~~~~~^~~~~~~~~~~~
./libinterp/octave-value/ov.h:1008:17: note: candidate function
  Array<double> vector_value (bool frc_str_conv = false,
                ^
./libinterp/octave-value/ov.h:1011:17: note: candidate function
  Array<double> vector_value (const char *fmt, ...) const;
                ^
libinterp/corefcn/dasrt.cc:525:31: error: call to member function 
'vector_value' is ambiguous
      crit_times = args(argp).vector_value ("expecting critical time vector as 
argument %d", argp);
                   ~~~~~~~~~~~^~~~~~~~~~~~
./libinterp/octave-value/ov.h:1008:17: note: candidate function
  Array<double> vector_value (bool frc_str_conv = false,
                ^
./libinterp/octave-value/ov.h:1011:17: note: candidate function
  Array<double> vector_value (const char *fmt, ...) const;
                ^
2 warnings and 4 errors generated.
Makefile:17030: recipe for target 
'libinterp/corefcn/libinterp_corefcn_libcorefcn_la-dasrt.lo' failed
make[2]: *** [libinterp/corefcn/libinterp_corefcn_libcorefcn_la-dasrt.lo] Error 
1
make[2]: Leaving directory 
'/Users/bpabbott/Development/mercurial/default/sources'
Makefile:25829: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
'/Users/bpabbott/Development/mercurial/default/sources'
Makefile:9910: recipe for target 'all' failed
make: *** [all] Error 2




reply via email to

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