installing odepkg with current tip I get the following error:

>> pkg install -forge odepkg
odepkg_auxiliary_functions.cc: In function ‘octave_idx_type 
odepkg_auxiliary_solstore(octave_value&, octave_value&, octave_idx_type)’:
odepkg_auxiliary_functions.cc:457: error: no matching function for call to 
‘octave_value::print_with_name(octave_pager_stream&, const char [3], bool)’
/opt/octave/3.5/include/octave-3.5.0+/octave/ov.h:995: note: candidates are: 
void octave_value::print_with_name(std::ostream&, const std::string&) const
odepkg_auxiliary_functions.cc:458: error: no matching function for call to 
‘octave_value::print_with_name(octave_pager_stream&, const char [3], bool)’
/opt/octave/3.5/include/octave-3.5.0+/octave/ov.h:995: note: candidates are: 
void octave_value::print_with_name(std::ostream&, const std::string&) const
make: *** [odepkg_auxiliary_functions.o] Error 1
...

the following patch solves the problem for me:

Index: odepkg_auxiliary_functions.cc
===================================================================
--- odepkg_auxiliary_functions.cc       (revision 8947)
+++ odepkg_auxiliary_functions.cc       (working copy)
@@ -454,8 +454,8 @@
       // eg. if the code should be debuged or something like this
       vt = octave_value (vtstore);
       vy = octave_value (vystore);
-      vt.print_with_name (octave_stdout, "vt", true);
-      vy.print_with_name (octave_stdout, "vy", true);
+      vt.print_with_name (octave_stdout, "vt");
+      vy.print_with_name (octave_stdout, "vy");
       break;
   }
 
any objections if I apply it?
c.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to