Issue of deprecated warnings in 3.0.1b and 3.1.x

John W. Eaton jwe at bevo.che.wisc.edu
Wed Apr 9 12:07:24 CDT 2008


On  9-Apr-2008, David Bateman wrote:

| David Bateman wrote:
| > The warnings like
| >
| >     warning ("Octave:deprecated-function",
| >         ["is_list is obsolete and will be removed from a future\n",
| >                "version of Octave, please use islist instead"]);
| >
| > should instead be written as
| >
| >     warning ("Octave:deprecated-function",
| >         strcat("is_list is obsolete and will be removed from a future\n",
| >                "version of Octave, please use islist instead"));
| >
| > otherwise the warning is incorrectly printed. Do you want a patch?
| >
| >   
| 
| 
| The attached script should fix it...

I checked in a change that avoids the issue by removing the
concatentation and the newline character from the warning messages.

jwe


More information about the Bug-octave mailing list