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

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

[Octave-bug-tracker] [bug #51767] Convenience function ovl() may be caus


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #51767] Convenience function ovl() may be causing compilation error
Date: Wed, 16 Aug 2017 17:09:10 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #3, bug #51767 (project octave):

I think it is gcc.  I will confirm in just a bit, as more info comes out after
I started a compilation again (I had to remove -j8 because of a complaint
about dependence on an unfinished process, so it is much slower).

I managed to make the compilation continue with


diff --git a/libinterp/corefcn/file-io.cc b/libinterp/corefcn/file-io.cc
--- a/libinterp/corefcn/file-io.cc
+++ b/libinterp/corefcn/file-io.cc
@@ -1000,7 +1000,7 @@ scanf_internal (octave::interpreter& int
 
   if (nargin == 3 && args(2).is_string ())
     {
-      retval = ovl (os.oscanf (args(1), who));
+//      retval = ovl (os.oscanf (args(1), who));
     }
   else
     {
@@ -1123,7 +1123,7 @@ character to be read is returned in @var
 
   if (nargin == 3 && args(2).is_string ())
     {
-      retval = ovl (os.oscanf (args(1), who));
+//      retval = ovl (os.oscanf (args(1), who));
     }
   else
     {


So, it is that particular format, whereas all other uses of ovl seems fine. 
os is a stream operating on the "who" file, but I don't know what oscanf() is
returning.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51767>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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