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

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

[Octave-bug-tracker] [bug #61784] builtins deprecated warning problem


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #61784] builtins deprecated warning problem
Date: Tue, 18 Jan 2022 13:03:07 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Follow-up Comment #10, bug #61784 (project octave):

Oh, I see.  I forgot to attach the earlier change but I guess it is not
needed.  Instead, try the patch attached with this comment.  With it, the
following version of lpath.cc compiles for me with just one deprecated
function warning for Fdisp.


#include <octave/oct.h>
#include <octave/interpreter.h>
#include <octave/builtin-defun-decls.h>

DEFUN_DLD (lpath, args, nargout,
           "Hello World Help String")
{
  octave::interpreter& interp = *octave::interpreter::the_interpreter ();

  Fdisp (octave_value ("hello"));
  F__dump_load_path__ (interp);

  octave::Fdisp (octave_value ("hello"));
  octave::F__dump_load_path__ (interp);

  return octave_value_list ();
}



(file #52678)
    _______________________________________________________

Additional Item Attachment:

File name: builtin-defun-decls-diffs.txt  Size:0 KB
   
<https://file.savannah.gnu.org/file/builtin-defun-decls-diffs.txt?file_id=52678>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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