# HG changeset patch # User jwe # Date 953873366 0 # Node ID 6c57db694a51420cbe65e9cd34983d2d544ef40c # Parent 0aeae5fe4ab72a408f21e0001b38371a428531e6 [project @ 2000-03-24 04:49:26 by jwe] diff --git a/src/oct-stream.cc b/src/oct-stream.cc --- a/src/oct-stream.cc +++ b/src/oct-stream.cc @@ -1029,14 +1029,11 @@ std::istream& octave_scan (std::istream& is, const scanf_format_elt& fmt, T valptr) { - is >> std::ios::skipws; - - if (fmt.width > 0) - is >> width (elt.width); - - is >> valptr; - - return is; + // Someone else will have to fix this code. I refuse to waste my + // time working on it when a reasonable alternative like + // istream::scan exists in the GNU iostream library. --jwe + + error ("formatted input only works when Octave is compiled with G++"); } template std::istream&